![]() |
|
Limit latest images to x album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Limit latest images to x album (/thread-2072.html) |
Limit latest images to x album - osakamojo - 2008-01-12 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. Thanks! Limit latest images to x album - acrylian - 2008-01-12 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. Limit latest images to x album - BertSimons - 2008-01-12 I did this like this: for the latest 6 in the album you are cuurently viewing: Limit latest images to x album - acrylian - 2008-01-12 FYI: I have submitted an update for getImageStatistic and its related functions that probably will be in one of the next svn. |