![]() |
|
using printCustomSizedImageMaxSpace for video thumbs - 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: using printCustomSizedImageMaxSpace for video thumbs (/thread-4089.html) Pages:
1
2
|
using printCustomSizedImageMaxSpace for video thumbs - acrylian - 2008-12-03 Please try 1.2.2, there is nothing new regarding that in the nightly yet. using printCustomSizedImageMaxSpace for video thumbs - gracestanat - 2008-12-07 bummer... those functions in 1.2.2 are still broken. any chance somebody could insert the algorithm i've provided above into the functions? I think it would be a quick fix since it seems like the problem is that they simply aren't calculating the size correctly. looks like it might all be calculated in getMaxSpaceContainer, but that function seems to be written in a much more convoluted manner than necessary (imho). unfortunately, that function seems to be using some php concepts that I don't yet understand (e.g., &$width). using printCustomSizedImageMaxSpace for video thumbs - sbillard - 2008-12-07 You've tried the current nightly build? using printCustomSizedImageMaxSpace for video thumbs - gracestanat - 2008-12-08 Um... no... 'cause acrylian said there's nothing new in the nightly build. but I'll try it now and post back if it still doesn't work. thanks! using printCustomSizedImageMaxSpace for video thumbs - acrylian - 2008-12-08 Four days ago there wasn't anything new regarding that, now it is...:-) using printCustomSizedImageMaxSpace for video thumbs - gracestanat - 2008-12-09 well... it is much closer to working now, but it is still buggy. so far, i've discovered the following problems:
Hope this helps... using printCustomSizedImageMaxSpace for video thumbs - acrylian - 2008-12-09 Regarding passing NULL for width: These functions are supposed to have always set width and height. That is what they are made for to fit into width x height without cropping. Leaving one out does not makes sense to me... Hm regarding the stretching. I did really a lot test a few days ago and I didn't notice any stretching anymore. Did you purge the cache? Just to ask... using printCustomSizedImageMaxSpace for video thumbs - sbillard - 2008-12-09 Passing NULL for a width or height value is the same as passing 0. These functions requrire both parameters. If you want them to be the same value, pass the value as both the height and the width. The only difference between the |