ZenphotoCMS Forum
Thumbs not square after 1.2.5 upgrade - 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: Thumbs not square after 1.2.5 upgrade (/thread-5363.html)



Thumbs not square after 1.2.5 upgrade - quiraang - 2009-06-20

Hi,

I've just upgraded from 1.2.2 to 1.2.5 and my thumbs are no longer square - just miniatures of the full image, either landscape or portrait, but 50px on the longest side. Admin options are set to 50px.
The code I use is:

$image = newImage($_zp_current_album, $imagefilename);
$image->getThumb()

Note: I had to change $image = new Image to $image = newImage to make it compatible with 1.2.5 but that's the only change I made. Is there something else I should have done?

*** Ignore this I fixed it - my own stupid fault - I had unchecked the crop option - Doh!