Hi Acrylian,
You're right... I talk too fast : it doesn't work for me :
I use zenphoto version 1.2.1 [2756]
and I've got this code on my index page to print the five last updated albums :
<?php printLatestUpdatedAlbums(5, 'showtitle', '','','',''); ?>
with the image_album_statistics.php version 1.2.1 it doesn't work (no thumbnail at all) but I get them with the image_album_statistics.php version 1.2.
My goal is to print 5 custom thumbnails for these albums, you gave me a trick :
in image_album_statistics.php replace
`echo "<img src=\"".$tempalbum->getAlbumThumb()."\"></a>\n
";`
by
`
$albumthumb = $tempalbum->getAlbumThumbImage();
echo "<img src=\"".WEBPATH."/".ZENFOLDER."/i.php?a=".$tempalbum->name."&i=".$albumthumb->name."&s=75&cw=75&ch=75\"></a>\n
";
`
but it doesn't work anymore, the name of the image isn't displayed before "_75_cw75_ch75.jpg" so no thumbnail is diplayed and I I get img src like that :
http://mysuperincrediblesite.com/cache/album2/subalbum2/_75_cw75_ch75.jpg
Ahahah ! I'm lost...