Hi there. Great photo gallery, I really love it. Like many people though I am wanting to call thumbnails of gallery images from pages outside of the Zenphoto directory (linking to the gallery). I got the the latest images working great with this code (found after trawling the forums):
This gives me the latest 6 photos from the whole gallery.
This works fine, but I what I really want is to limit the latest images to those of a particular album. How would I go about doing that? It must be possible, I just don't know enough about programming in general to make it happen. Can anyone help me out?
Thanks!
That's way to complicated anyway. We already have a function called printLatestImages for this...Please see the functions guide on www.zenphoto.org/documentation.
Limiting the imageStatistic to an album is not possible at the moment, but sounds like a good idea. Since it's not that difficult to implement I will get this as an option into the next nightly build.
I did this like this:
for the latest 6 in the album you are cuurently viewing:
`