Hi,
since my last upgrade to the zenphoto version 1.2.1 [2756] nightly, my custom thumbnails from image_album_statistics for the last updated albums aren't displayed.
Here is the code I get in my image src :
http://mysuperincrediblesite.com/cache/album2/subalbum2/_75_cw75_ch75.jpg
It seems that the name of the image isn't displayed before "_75_cw75_ch75.jpg" so no thumbnail is diplayed. I set my chmod, cache and albums, to 755 but it doesn't work.
Do you have any idea about it ?
Well, it's a developement version..:-). We had changed somethings that affect some other parts apparently.
The custom thumbs are a hack, aren't they? I believe it was me who told you how to do that a while back. Could you post the code in question? I do not remember how we did it...
You are right, you told me to do this way :
$albumthumb = $tempalbum->getAlbumThumbImage();
echo "name."&i=".$albumthumb->name."&s=75&cw=75&ch=75\">\n";
http://www.zenphoto.org/support/topic.php?id=3730
I was wondering if you had added this parameter in the nightly versions til you gave me this trick but it doesn't work anymore.
Hm, actually that should still work... I haven't change anything regarding that. It might be related to the getAlbumThumbImage method. Note we change some things in the image processor to get the coming custom crop feature to work. To be exact sbillard did most of that so you will have to wait until he is back or don't use the nighty. Then we will decide if that plugin needs fixing or the image processor in general.. Remember it's still the development version, even if it is always quite stable...:-)
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 :
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 "getAlbumThumb()."\">\n ";
by
$albumthumb = $tempalbum->getAlbumThumbImage(); echo "name."&i=".$albumthumb->name."&s=75&cw=75&ch=75\">\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...
Supersolved :
http://www.zenphoto.org/support/topic.php?id=3490#post-25451
(auuuuutooooooobaaaaaaaaaaahn)