admin管理员组

文章数量:1308024

In Media Settings I have Thumbnail sizes set to width and height of 150 and "Crop thumbnail to exact dimensions (normally thumbnails are proportional)" is not checked.

Since the checkbox is not checked, shouldn't the entire image be retained (since thumbnails are supposedly proportional)? However, it is not (see below). Why is this?

In Media Settings I have Thumbnail sizes set to width and height of 150 and "Crop thumbnail to exact dimensions (normally thumbnails are proportional)" is not checked.

Since the checkbox is not checked, shouldn't the entire image be retained (since thumbnails are supposedly proportional)? However, it is not (see below). Why is this?

Share Improve this question asked Jan 6, 2021 at 19:35 AnthonyAnthony 311 silver badge5 bronze badges 3
  • 1 Was that image uploaded before, or after you changed the setting? Media settings are only applied to uploads, WordPress can't go back and change images that have already been uploaded – Tom J Nowell Commented Jan 6, 2021 at 21:03
  • Before. I deleted the image and re-uploaded it and it looks as it should now. Thanks! – Anthony Commented Jan 7, 2021 at 1:39
  • 1 There's the regenerate thumbnails plugin that can do that for you – Tom J Nowell Commented Jan 7, 2021 at 10:21
Add a comment  | 

1 Answer 1

Reset to default 1

Thanks to Tom's comments I better understand the issue. There are a number of solutions:

  • re-upload the image after applying new media settings
  • Regenerate the thumbnails with the "Regenerate Thumbnails" plugin or with wp-cli's wp media regenerate.

本文标签: mediaThumbnail images chopped off but not cropped to exact dimensions