Originally Posted by Jan
I don' t know how I can be more specific when saying that when having the uniform size thumbnail setting on, and having both height and width set at 164 pixels, the images that are cropped from a landscape orientated images are blurry.
I figured out your problem.
It's because the PhotoPost script (the one Chuck mentioned above) first resizes to fit the desired width
, then resizes to fit the desired height
. Which means that when PhotoPost resizes landscape photos, it's upscaling
using this method. (No wonder it's blurry!)
Chuck, I think you'll find the following code to be more graceful (the option flag '^' has been available for this very thing since v.6.3.8-3):
Content visible to verified customers only.
I've attached some examples for you to compare: 2253thumb2.jpg
was generated using the code Chuck posted, while 2253thumb.jpg
was generated using the code I've posted here. To reiterate:
the current Uniform Thumbnail script, as applied to landscape-oriented images, shrinks them down too far. It then enlarges the too-small thumbnail before cropping, resulting in a blurry image. The code I've posted here ought to avoid this.