-
Notifications
You must be signed in to change notification settings - Fork 4.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
Image Size: Inconsistent behavior between rendered size and intrinsic size #51177
Comments
Thank you for reporting.
This is a known issue; reported at #12168
On the front end or within the editor? |
It amazes me how often this bug is reported and it's still not fixed.
Isn't the idea that the editor displays the same as the front end? When the container div constrains the content and image to 620px, this should be the 100%. There is no value in using the original image size as 100% - or even giving the information to the user on how much the original image size is, because it will not be displayed as such anyway. |
This also relates to the discussion here: #48618 |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
@skorasaurus this issue has the label "needs more info" and is now being marked as stale. What more info are needed? |
Sorry, the stale label and comment is automatically applied when the 'needs more info' label is applied; I forgot to remove the label. |
Description
It's possible to resize the width of a image, even if the content width should constrain it. The website doesn't display the wider image, the editor does.
Also, should't be the percentages calculated from the content width, not the image size? If I have a 620px content width, selecting 50% I'd expect the image to be 310px then.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2023-06-01.at.17.43.23.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: