![]() |
|
Displaying Album image + Image thumbnails on index pg - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Displaying Album image + Image thumbnails on index pg (/thread-5012.html) |
Displaying Album image + Image thumbnails on index pg - chuubenettes - 2009-04-10 Hi, I need help getting a loop to run appropriately inside another loop.. or what the best way to arrange this is. What I want is: Need help with:
--Thanks so much for any help! The code I used is below: ` [list]
` Displaying Album image + Image thumbnails on index pg - acrylian - 2009-04-10 1./2. Set the number of images per page to get on the admin options to 4 and don't set
Displaying Album image + Image thumbnails on index pg - chuubenettes - 2009-04-10 1./2. I had thumbs set to 4 per page on admin, and then i i took out "false, $firstPageImages" but it still shows them all. ( richardpierpetit.com/index.php ) 1a. fixed: I took out a previous/next navigation print link and it executes the whole script now.
What did I do wrong? `
` Displaying Album image + Image thumbnails on index pg - acrylian - 2009-04-10
Displaying Album image + Image thumbnails on index pg - chuubenettes - 2009-04-10 thanks for getting back so quickly- for the image thumb div links, i tried replacing a href= Displaying Album image + Image thumbnails on index pg - dwood235 - 2009-07-09 I like this idea of using next_image(false, $num) on the index page but I'm experiencing the same issue as chuubenettes. I've made the following modifications to index.php at (roughly) line 26:
This is within the next_album() while loop. The goal here is to have the first two images in any album display along side the main album thumb. The issue I'm having occurs when the next_album() loop continues to subsequent albums - the next_image loop, instead of showing the first 2 images, shows all the images of the album beginning with image number 3 and loops to the end of the album. Is there some way the next_album() loop can be 'tricked' into thinking that it's always being run for the very first time? Thanks, Displaying Album image + Image thumbnails on index pg - acrylian - 2009-07-09 I suggest maybe to work with the class methods. Within the loop the global Displaying Album image + Image thumbnails on index pg - dwood235 - 2009-07-09 Thanks acrylian, using your advice and the following post as a guide: http://www.zenphoto.org/support/topic.php?id=5486#post-31848 I was able to come up with this located within the next_album loop: ` [img][/img] -Dave. Displaying Album image + Image thumbnails on index pg - Bildergala - 2009-07-26 Works for me too, thanks a lot! |