ZenphotoCMS Forum
custom thumbnail with max height - 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: custom thumbnail with max height (/thread-8408.html)



custom thumbnail with max height - rosswil - 2011-03-26

I am not sure if I am missing something with printCustomAlbumThumbImage, but I am trying to get an album thumbnail image with a width of 228px and with a maximum height of 262px. Is this possible with the built in functions in zenPhoto, or do I need to write something custom? Thanks!




custom thumbnail with max height - acrylian - 2011-03-26

You need to modify your theme to use this function and set the required parameters. Review the theming tutorial and the functions tutorial.




custom thumbnail with max height - rosswil - 2011-03-26

Thanks for your response acrylian. I figured out that I need to use the printCustomAlbumThumbMaxSpace instead. For people who may look at this in the future I am using this code to achieve the desired result.

What exactly does the thumbStandin boolean value do? The description "treat as thumbnail" doesn't mean much to me.

Thanks!




custom thumbnail with max height - sbillard - 2011-03-26

That determines the kind of watermark that might be applied. The thumbnail one or the image one.