printLatestImages of Current Album only

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

Sign In or Register to comment.