[wp-trac] [WordPress Trac] #38906: wp_get_attachment_image_src() sometimes gives incorrect width and height values

WordPress Trac noreply at wordpress.org
Thu May 19 17:19:35 UTC 2022


#38906: wp_get_attachment_image_src() sometimes gives incorrect width and height
values
--------------------------+-----------------------------
 Reporter:  pressupinc    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  administration
--------------------------+-----------------------------

Comment (by pressupinc):

 @antonvlasenko This is still an issue that I was running into on a site
 this past week. However, it's not across the board, image sizes dropdown
 works properly on some sites.

 --

 Bug from site last week:

 "Large" size is misidentified in the media dropdown (you can also tell
 that various other sizes are incorrectly stuck at 625px):
 [[Image(https://wpshout.com/large-size.png)]]

 Actual large size is 1024 wide: [[Image(https://wpshout.com/large-size-
 actual.png)]]

 Media settings are standard: [[Image(https://wpshout.com/media-
 settings.png)]]

 Site theme (old client site) is Twenty Twelve.

 --

 Original site mentioned in the report was built on Understrap.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/38906#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list