Make WordPress Core

Opened 6 months ago

Closed 5 months ago

#59831 closed defect (bug) (invalid)

Images are not resizing

Reported by: janissg's profile janissg Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Media Keywords: needs-patch
Focuses: Cc:

Description

All custom resized images are showing up full size, even after trying to resize them every way possible, in both visual and text windows. In edit mode, they show up in resized form in the preview, but the moment I hit publish, they are full size again.

Attachments (2)

Screenshot 2023-11-07 at 10.18.14 PM.png (1.1 MB) - added by janissg 6 months ago.
Image correct size during edit
Screenshot 2023-11-07 at 11.17.11 PM.png (711.9 KB) - added by janissg 6 months ago.
Image full size after publishing

Download all attachments as: .zip

Change History (5)

@janissg
6 months ago

Image correct size during edit

@janissg
6 months ago

Image full size after publishing

This ticket was mentioned in Slack in #core by jorbin. View the logs.


6 months ago

This ticket was mentioned in Slack in #core by jorbin. View the logs.


5 months ago

#3 @jorbin
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from assigned to closed
  • Version 6.4 deleted

Hi @janissg, welcome to trac. This trac is for tracking enhancements and bugs with the core WordPress software, not for assistance with individual sites.

That said, looking at your site, it seems as though there is CSS in your theme that is affecting images and forcing them to be full-width. Commenting out the following rules in devtools shows the images at the size indicated by its width and height attributes.

.aligncenter {
  ...
  width: auto!important;
}

...

img {
  width: auto;
}

I would encourage you to reach out to the creators of the Modern Blogger Pro theme and report this issue to them.

I've closed this ticket of with the term invalid, in this case it's the unfriendly term trac uses to indicate that I've referred you to somewhere where you can find people better able to assist you.

Note: See TracTickets for help on using tickets.