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
1 Answer
Reset to default 1Thanks 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
版权声明:本文标题:media - Thumbnail images chopped off but not cropped to exact dimensions 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741854687a2401272.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论