[wp-trac] [WordPress Trac] #57158: bug for image 2/3 ratio size when max height is 480px

WordPress Trac noreply at wordpress.org
Mon Nov 21 00:13:46 UTC 2022


#57158: bug for image 2/3 ratio size when max height is 480px
--------------------------+-----------------------------
 Reporter:  tshak93       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I upload a 2/3 size image (example: 700/1050px, 1000/1500px, etc.)
 and in the media settings (/options-media.php) I set the maximum height
 and maximum width to 480px, the medium size image (which measures 320px x
 480px) is never displayed on wordpress.

 this problem exists only for images resized in medium size. everything
 seems OK for small and large size.

 I think this bug exists since several versions.

 * screenshot settings :
 https://drive.google.com/file/d/1LAKzw2RHVDb3MskmQ4V86FX_eGw_XBEC/view?usp=sharing
 * screenshot 320x480px medium size not displayed :
 https://drive.google.com/file/d/1EDcCVpwW4Cd21qn9JQldL2Q9EpwvF701/view?usp=sharing

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57158>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list