-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gutenberg: Image added from Media Library appears low-res #35578
Comments
I've tried the same in the Page/Post Editor, and it happens there as well. |
I'd say this is the expected behavior. There are some open issues in Gutenberg requesting some enhancements on how the block alignments affect the image sizes: WordPress/gutenberg#6131, WordPress/gutenberg#12044 Right now Gutenberg doesn't resize the image when changing the block alignment and delegates any responsibility of changing the image size to the user with the "Image Size" setting. Note that that selector |
#34969 (comment) looks like a fix landed. Please verify and close out if no action is needed. |
I'm tempted to close this but at the same time I'd like a second opinion. (cc @kwight @mmtr) Right now on WP.com I'm able to change the image size via the sidebar dropdown (which is the aforementioned fix), so in a sense the low-res issue can be easily solved by the user, by changing the image size to full width. Though, there is an unexpected behaviour going on (possibly related to the Media Modal?). When I insert an image, it's always inserted with the
There is no size set at 640 that I know of. The fact that the image is inserted at 640 and defined as Large means that, to set it as "Large proper" (1024), one would need to change the size in the dropdown to anything else, and then back to Large. So then again, this issue in fact... is not really solved. I haven't located where the |
Can you clarify where these sizes are defined? Is something a user can set on a per site basis? |
Thanks for that research @Copons. Definitely there is something wrong. If there is some kind of conflict between the expected sizes and the actual ones, it might be caused by the same issue I noted in #35822 (comment) we're currently investigating. Let's leave this issue open until we finish the investigation there. |
They are on a per-site basis, and can be set in wp-admin Settings > Media ( |
This is not an FSE-related issue, so I'll edit and punt from the sprint to reflect that. |
On second thought, I'm going to close this. Uploading a high res picture and changing gutenberg to show full resolution does seem to show the full resolution of the picture in editor and on front end. I think if not respecting the user's settings for image loading is an issue, that should be created separately and is likely not a WordPress.com bug |
via @ianstewart:
The text was updated successfully, but these errors were encountered: