Is there a way to skip the album page?
I want the user to be able to click on the album icon in the gallery page and go directly to the first image of that album. Is this possible?
I looked at the template-functions but I can't figure out how to pull out the [img][/img] and `values seperately within thenext_albumandnext_image` loops respectively.
Any suggestions?
Thanks!
It's possible, sure...
In index.php, you'll have something like...
`while (next_album()):
next_image();
[[ code from album.php to display image thumbnail and link goes here ]]
while(next_image()) { } // A hack to skip the rest of the images....
endwhile;`
You can basically put the functions on whatever page you want, they really don't care.
the while(next_image()) { } is unfortunately necessary for now because I haven't planned for the situation where you'd only do a partial loop... I might add some better way in the future, but that should work for now.
I just checked a comment I left about this at another post-
http://www.zenphoto.org/support/topic.php?id=752&replies=10
That method worked great. Should have checked that before posting here....