I want to be able to combine the thumbnail sets from different albums, so that they can be displayed on the same page.
http://mikeliuzzi.com/gallery.htm
Ideally I would be able to have each of the categories on the page above to be their own album
I'm somewhat inclined as to how the php does its work, but I cannot seem to find the loop that creates the thumbnails. I assume all I need to do is get this to continue through all the albums rather than stopping after one album is finished processing.
thanks
Just place the next_image() loop from album.php within the next_album() loop.
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnext_image
Additionally you could use the class methods of the album and image class directly.
I've tried this and still can't seem to get it working. I'm not exactly sure where to place the next_image() loop in relation to what is already contained within the next_album() loop. Within the "album" div? the "thumb" div? Do I remove the contents of the next_album() loop and replace them with the next_image() loop?
half the time it doesn't do anything, and the other half of the time it just returns nothing for the thumbnails.
thanks for all your help, and of course the great script
Where you place the next_image loop and if you remove the other albums part is actually your decision of design (showing the album thumb might be quite useless if you already show the contents).
The next_image loop will of course only return the thumbs for images in the direct album. If you have an album with albums it will not return anything.
sweet... it worked thanks a million man
just a heads up to anyone who tries this, you have to take the next_image() loop from album.php and place it within the next_album() loop on the index.php file. I kept on trying to do everything inside album.php and just kept going in circles (loops?)..
also, printPageListWithNav gave me errors so I just took it out
thanks again