[wp-trac] [WordPress Trac] #62515: 6.7.1. Pictures height

WordPress Trac noreply at wordpress.org
Fri Nov 22 08:03:58 UTC 2024


#62515: 6.7.1. Pictures height
--------------------------+-----------------------------
 Reporter:  fredel        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.7.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This is a follow-up to #62413.

 Hey guys, after the fix (62413) & upgrade in 6.7.1 i have problems with
 the picture height with "sizes= auto" ((here: sizes="auto, (max-width:
 620px) 100vw, 620px") in Chrome based Browsers. The picture height is
 wrongly pushed to 1500px.

 Browsers Tested:

 Issue occurs on: Chrome, Opera
 Works as expected on: Firefox


 Thx



 Full code:



 {{{
 <img src="https://www.bergtour-online.de/wp-content/uploads/2024/11
 /Ritzau-Alm-620x350.jpg" class="attachment-featured-image size-featured-
 image wp-post-image" alt="Ritzau Alm" decoding="async" loading="lazy"
 srcset="https://www.bergtour-online.de/wp-content/uploads/2024/11/Ritzau-
 Alm-620x350.jpg 620w, https://www.bergtour-online.de/wp-
 content/uploads/2024/11/Ritzau-Alm-300x169.jpg 300w, https://www.bergtour-
 online.de/wp-content/uploads/2024/11/Ritzau-Alm-800x450.jpg 800w,
 https://www.bergtour-online.de/wp-content/uploads/2024/11/Ritzau-Alm-
 768x432.jpg 768w, https://www.bergtour-online.de/wp-
 content/uploads/2024/11/Ritzau-Alm-1536x864.jpg 1536w, https://www
 .bergtour-online.de/wp-content/uploads/2024/11/Ritzau-Alm.jpg 1920w"
 sizes="auto, (max-width: 620px) 100vw, 620px" draggable="false">

 }}}

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


More information about the wp-trac mailing list