This would probably be best suited as a plugin once zenphoto has that ability, but i'll probably end up using it on my own so thought i'd toss the idea out there to get some feedback.
I'm dorking around with some of the lightbox solutions and was curious about a function (modification?) to iterate through the entire list of images in an album, regardless of the config settings for max images per page. This would allow for existing thumbnail pagination while enabling the lightbox view to scroll through the entire album without having to close the lightbox, click on the next page, and reopen the lightbox.
For now I basically cloned the next_image() function in template-functions.php and passed $page=0 to getImages. Two runs through the loop and all the info lightbox needs for the entire album is there, redundant though it may be.
Wasn't sure if there was a more elegant solution I might've missed or if it would even be useful to others to have such a function, perhaps for other reasons?
Comments