[wp-trac] [WordPress Trac] #62977: Wrong imagesize Twenty-Twenty_Five , WP 6.72
WordPress Trac
noreply at wordpress.org
Mon Feb 17 08:15:09 UTC 2025
#62977: Wrong imagesize Twenty-Twenty_Five , WP 6.72
----------------------------+------------------------------
Reporter: Roger Vikstrom | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.7.2
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by ankitkumarshah):
Hi @roger-vikstrom,
Thank you for bringing this up.
I think you’ve set a custom width for the featured image, Like this:
[[Image(https://i.ibb.co/Lh9GG9YD/image.png)]]
As a result, the `<figure>` tag wrapping the image has an inline style
`width: 1366px`:
[[Image(https://i.ibb.co/FbJgg8Mt/Untitled-design.png)]]
This might be the cause of the issue you are facing. You can fix it by
either removing the width from inspector control or adding custom CSS with
media query to handle this.
Here is how it will look if you remove the width:
[[Image(https://i.ibb.co/7JnXcvjs/image.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62977#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list