Quote:
Originally Posted by sross
Also having trouble with thumbnails. I have it set max 80 x 80 but there is one in my ads now that is 80 x 190 anyone have a fix?
|
The standard for resizing images is:
1.- Setting max width
2.- Setting max height
In this case the uploading image is resizing such a way, so none of the dimensions (height or width) to be higher the maximum. This way the image keeps the best quality. Much more, if you check my code, I'm using resampling instead resizing to give better quality.
If I was following your way, the photo should strech to get the dimensions, loosing the quality.
Of course there is other method to use crop and then resizing/resampling, but sorry this is for photo galleries etc and not for a classified module.
Maria