
Originally Posted by
jaycode
No worries John :)
I am sorry, but I don't seem to get if anything went wrong there?
Maybe it will help if I let you know the resizing algorithm:
The width & height are actually maximum width & height and they are decided by whichever has larger value, while keeping the proportion.
An extreme example if you set the MAX WIDTH to 600 and max height to 10000, these are what happen if you uploaded image on eace size below (width x height):
1. 1000x1000 image: resized to 600x600
2. 500x20000 image: resized to 250x10000
3. 600x2000 image: not resized
4. 800x600 image: resized to 600x[whatever value keep the proportion intact]
Hope that clears out.
Bookmarks