Generated media have incorrect aspect ratio

Uploaded an image via standard ‘add new’ dialog to the WordPress Media library. Here were the original Media Settings:

  • Thumbnail – 150×150
  • Medium – 300×300
  • Large – 1024×1024

I uploaded a 650×144 image.

Resulting generated image sizes:

  • 150×144.jpg
  • 300×66.jpg
  • 336×144.jpg

Only the medium image has the correct ratio. The other two images are basically a crop of the middle of the original image.

I’ve tried deselecting the ‘crop thumbnail’ box next to the thumbnail. I’ve tried changing the height to 0. So far nothing has worked. What am I missing?

1 Answer
1

Under settings >> media, change the height attributes to 9999, and untick Crop thumbnail to exact dimensions (normally thumbnails are proportional) under the thumbnail size if it is ticked.

When you are done, download and install “Force Regenerate Thumbnails”. This is actually better than “Regenerate Thumbnails” as it deletes all redundant image sizes.

Leave a Comment