I'm trying to use printlatestimages in album.php. Having a bit of trouble trying to get printlatestimages to display the latest images from the current album only. I basically need to get the folder name of the current album. I tried <? echo getAlbumData('folder') ?> but it always returns empty no matter where I put it. Printalbumdata on the other hand works. But I need to include it in the function instead of echoing it.
Comments
Did you enable image_album_statistics plugin?
http://www.zenphoto.org/documentation/plugins/_zp-extensions---image_album_statistics.php.html#functionprintLatestImages
Beside, not sure if following return current album name, please try:
echo $album->name;
Hope this help.
printLatestImagesbyDate(6, $_zp_current_album->name);