![]() |
|
placing definite width&height in function printDefaultSizedImage - 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: placing definite width&height in function printDefaultSizedImage (/thread-2090.html) |
placing definite width&height in function printDefaultSizedImage - levista - 2008-01-15 Hi, I would like to specify the width & height of my images in the function printDefaultSizedImage in the template-functions.php. I am doing this because all my images are a set exact size and none of them will ever deviate from this. I am hoping that by specifying the dimensions I can avoid the jumping around of images that occur as a page of say 30 images load on an album page and the browser is unable to allocate space immediately (hope that makes some sense). I have (i think) tracked the code down to the lines in function printDefaultSizedImage; [code] //Print images placing definite width&height in function printDefaultSizedImage - acrylian - 2008-01-15 We have already a function called printCustomSizedImageMaxHeight() |