RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 04, 2008, 12:16:03 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Modify Page Display to show both thumbnails and full image.
Advanced search
  « previous next »
Pages 1
Author
Topic: Modify Page Display to show both thumbnails and full image.  (Read 5161 times)
« on: March 10, 2007, 09:41:04 pm »
Kat McDivitt Offline
Newbie
*
Posts: 1



Hi,

I am working on a project where the client wants to display the thumbnails and have the visitor click on a thumbnail to view the full shot.

An example of this in action is:

http://www.moonriverphotography.com/gallery/634937#131884030

Is there any way to get the current tool to do this?  If not, is there someone who can customize it to do this?  If not, is there another Joomla tool that does this?

Thanks!!!!

Kat
Logged
 
Reply #1
« on: March 11, 2007, 03:55:49 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

what you can try is downloading the latest nightly build and try to alter the template, this should be able to come somewhere near this functionality
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: March 17, 2007, 12:13:06 am »
Kent Offline
Newbie
*
Posts: 10

WWW

Kat,

If you're using the non-template version, you can alter rsgallery2.html.php as so:

Change the last few lines of the function RSGalleryInline to read:

Code:
      }
$i++; $j++;

// show the thumbs
HTML_RSGALLERY::RSShowPictures( $catid, 100, 0 );
    }
    //end of inline

The parameters for the function RSShowPictures are category id, number of thumbs to show before inserting page nav links, and number of the thumb to start with.  "0" tells it to start at the beginning of the thumbs for the category.

The second param should be sufficiently high.  I don't know what the page nav links would do - they would probably take you to a page showing only the thumbs in the category (no main photo).

You can get away with modifying this "core" file by making a copy of it in a directory called "components" in your template directory, and making changes to that copy.  It will be used in place of the standard copy.

Screenshot attached.

Kent
« Last Edit: March 17, 2007, 12:20:06 am by Kent » Logged

 
Reply #3
« on: March 26, 2007, 02:54:00 pm »
WildWeb Offline
Newbie
*
Posts: 4



Hi! I am as new as a newbie can possibly be!  Undecided

Kent, I looked at your site and would love to implement rsgallery2 like that...I looked for the code you mentioned above and don't see it -- I guess that means I don't have the non-template version?

If that's the case, then how do I do this with the version I do have?

I am new to Joomla and PHP and everything -- so be specific and don't worry about offending me with low-level instructions! ;-)

TIA!

WW
Logged
 
Reply #4
« on: March 26, 2007, 03:14:27 pm »
Kent Offline
Newbie
*
Posts: 10

WWW

Tia,

I'd be happy to give you more details on what I did.  I'm not familiar with the template version of RSGallery2, though.  AFAIK (and I'm not an RSGallery2 developer, just a user), the non-template version is still the latest "stable" version, so double check what you have and let me know.  Perhaps someone else on the forum can help you determine which version you have.

Kent
Logged

 
Reply #5
« on: March 26, 2007, 04:12:59 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

we hope that the template system will stimulate people to publish their templates for others to use, so please do try to make this work, that would be great for the community, I know that the system still has its flaws, but as you encounter them, we can fix them (or wait a few days/ weeks for 1.12.3 Wink )
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #6
« on: March 26, 2007, 04:28:21 pm »
Kent Offline
Newbie
*
Posts: 10

WWW

Hi Daniel,

Sure, I completely understand.  I went with the non-template version b/c I needed to get it going on a production website...

But the basic idea is that I plopped the code for the gallery thumbnail display into the single-item display.

Kent
Logged

 
Print  Pages 1
« previous next »
Jump to: