Member
Member
icie   25-11-2010, 02:42
#1

I'm a new user to the zenphoto platform and by extension to the use of the zpGallerific theme. Currently just building the site and moving stuff over from a previous gallery site.

In the theme options, I have set Albums per page to 6, and Thumbnails per page to 20. For the most part, this works well, but I have noticed that these settings do not apply to sub-albums. I have an album with 61 sub-albums, and when I go into the album, all 61 sub-albums' thumbnails load up. I wish to avoid this as my main reason for moving platforms was to reduce memory use and load on the server.

Am I overlooking some setting somewhere, or is there a code in a theme page I could change to get pagination working with sub-albums? I do not have a good grasp of PHP, but I do know how to slowly work out what code does what and of course copy-paste code snippets into the proper places.

If you wish to see the example I am currently working with, it's here: http://www.pireze.org/pixelalpha/Cosplay/

Member
Member
gjr   26-11-2010, 15:23
#2

I don't think you have missed a setting for zpGalleriffic, this is the way it was setup because of the Galleriffic script. Since pagination is tied to images and albums, I had to force show all in subalbums. zpgalleriffic uses its own "pagination" for images. You could try to play with it by changing the "next_album" parameters on album.php (refer to the template functin documentation).

Member
Member
icie   30-11-2010, 01:36
#3

Thank you so much for your help. I managed to tinker my way in and got pagination 'working' on subalbums.

However, as I am not a coder by any means, and of course you have a more holistic view of how things work overall. So I would like to outline my method here, and if you could alert me to any potential issues/breakage which would occur due to this, that would be really useful.

In album.php,

I set the line

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.