![]() |
|
1.2.6 and printCustomSizedImageMaxSpace - 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: 1.2.6 and printCustomSizedImageMaxSpace (/thread-6007.html) |
1.2.6 and printCustomSizedImageMaxSpace - harootun - 2009-10-18 I'm upgrading from 1.2.4 to 1.2.6, and it seems like the printCustomSizedImageMaxSpace function is behaving differently. I have a fixed width layout, and would like it to shrink any pics that are wider than 900 pixels. This worked perfectly before (in 1.2.4), but now it is also ENLARGING pics that are smaller than 900 pixel width to be 900 pixels wide. Does anyone have any pointers as to how to get this function to behave as it did before? Any advice appreciated 1.2.6 and printCustomSizedImageMaxSpace - harootun - 2009-10-18 btw, allow upscale is not checked in my admin options. 1.2.6 and printCustomSizedImageMaxSpace - harootun - 2009-10-18 Solved it with an if/else statement if (getFullWidth() > 840) { printCustomSizedImageMaxSpace(getBareImageTitle(),840,3000); 1.2.6 and printCustomSizedImageMaxSpace - acrylian - 2009-10-19 I have not noticed a different behaviour with that function. We would need to have an example (link) to prove that not a bug sneaked in somehow. Also please try the nightly build to see if it works there. |