-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Media & Text block image settings are not working properly. #48395
Comments
I am not 100% sure, but I think it is working as intended - but it is in fact super confusing. "Image size" should not be confused with "image dimensions". I personally would suggest to remove "image size" settings (or or at least move it to the advanced tab). Does anyone really still care about what image size is selected? It looks like this old post-thumbnail behaviour was brought to the editor where it does not make any sense anymore. The best size should be rendered automatically. Users shouldn't be faced with the option of the "image size" because they get confused - they (rightfully) only care about the image dimensions. |
@viralsampat-multidots Thanks for creating the issue with a good video. Like @hannesdev said, the actual rendered size you're seeing is being determined by the height of your text column. If you'd like a small image with some text next to it you could add a columns block and add an image to one of the columns and text to the other. We might also choose to add a block setting that removes the 100% height and width from the media column, if you'd like that, please create a separate issue for it. I'll close this one as resolved, if you have any more questions feel free to re-open it. |
Right now this setting causes confusion as it doesn't change the visual size, but the image dimensions, see WordPress#48395.
* Changes image size description, as it causes confusion Right now this setting causes confusion as it doesn't change the visual size, but the image dimensions, see #48395. * Added the copy to the Image block as well * Fix typo and make copy shorter * Update help labels for consistency --------- Co-authored-by: Rich Tabor <hi@richtabor.com>
Description
Hello Team,
I have worked with the "Media & Text" block and I have uploaded its images and added text based on requirements. But, when I tried to set the image size for the "Media & Text" block then it was not affected and it did not change.
But, for more clearance, I took the "Image" block and uploaded my image. Then I tried to set the image size for the "Image" block and it's working as expected.
For better understanding I prepared its video, Please see my attachment.
Media & Text Image size issue
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: