Image Resize in CF 8
I'm working in CF 8. My issue is that my image cannot be taller than T nor wider than W.
I assume that I need to perform a number of tests on the uploaded image's height and width to come up with the optimum size, then plug those two measurements in pixels into Image Resize.
In other words, if the image is taller than T, reduce W by a related %. If the new width is still wider than the required W, reduce the width accordingly, then reduce the height by a related %. When done, plug those two numbers into Image Resize.
Is there any other way to do this, or is my interpretation of the required steps correct?
Thanks, Karen
