Featured image uses wrong default size #15842
Labels
[Feature] Document Settings
Document settings experience
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Package] Editor
/packages/editor
[Type] Bug
An existing feature does not function as intended
Describe the bug
By default gutenberg tries to load the featured image with the image size
post-thumbnail
in the editor sidebar:gutenberg/packages/editor/src/components/post-featured-image/index.js
Line 34 in c4cd4d8
This image size does not exist by default. The correct image size would be
thumbnail
.See the default image sizes in the Codex: https://codex.wordpress.org/Post_Thumbnails#Thumbnail_Sizes
Because the specified image size does not exist, the
full
size is used as a fallback.This causes a performance issue, because a potentially far too large image is loaded.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The Featured image should be loaded in a smaller version/thumnail site within the editor sidebar.
Desktop:
Additional context
The text was updated successfully, but these errors were encountered: