ZenphotoCMS Forum
Scaling by longest side does not work - 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: Scaling by longest side does not work (/thread-1436.html)



Scaling by longest side does not work - chazzzzy - 2007-06-12

I have the $conf['image_use_longest_side'] = true; yet my images are ONLY scaled by the shortest side.

Whether I have the above item set to true or false.. it has no affect, it only scales by the shortest side.

Is it a PHP function (outside of zenphoto) perhaps that needs to be turned on on my end?

Thanks!




Scaling by longest side does not work - DarrellD - 2007-06-13

What theme are you using?

I could be wrong, but I believe that ZenPhoto will only use image_use_longest_side when using a theme function such as getAlbumThumb/getNextImageThumb/getPrevImageThumb/getImageThumb but if the theme uses any of the getCustom___ functions, that function can specify how to crop the image, so in that case, I don't think that ZenPhoto would use image_use_longest_side.