[wp-trac] [WordPress Trac] #62527: Images distorted in v6.7.1

WordPress Trac noreply at wordpress.org
Fri Nov 22 16:14:33 UTC 2024


#62527: Images distorted in v6.7.1
------------------------------+------------------------------
 Reporter:  ReallyGreenJames  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Media             |     Version:  6.7.1
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by junior):

 I  am also having the same problem but it's only happening to some images.
 Here's an example:

 Blurry image (notice the loading="lazy"):


 {{{

 <img width="1920" height="1277" src="https://REDACTED.com/wp-
 content/uploads/2024/10/autumns-corridor.jpg" class="attachment-post-
 thumbnail size-post-thumbnail wp-post-image" alt="Autumn’s Corridor" style
 ="border-radius:0px;border-style:none;border-
 width:0px;width:100%;height:100%;object-fit:contain;" decoding="async"
 loading="lazy" srcset="https://REDACTED.com/wp-content/uploads/2024/10
 /autumns-corridor.jpg 1920w, https://REDACTED.com/wp-
 content/uploads/2024/10/autumns-corridor-960x639.jpg 960w,
 https://REDACTED.com/wp-content/uploads/2024/10/autumns-corridor-
 768x511.jpg 768w, https://REDACTED.com/wp-content/uploads/2024/10/autumns-
 corridor-1536x1022.jpg 1536w" sizes="auto, (max-width: 1920px) 100vw,
 1920px">
 }}}

 Not blurry (no loading lazy):


 {{{
 <img width="1920" height="1277" src="https://REDACTED.com/wp-
 content/uploads/2024/10/backyard-colors-1.jpg" class="attachment-post-
 thumbnail size-post-thumbnail wp-post-image" alt="Backyard Colors" style
 ="border-radius:0px;border-style:none;border-
 width:0px;width:100%;height:100%;object-fit:contain;" decoding="async"
 fetchpriority="high" srcset="https://REDACTED.com/wp-
 content/uploads/2024/10/backyard-colors-1.jpg 1920w, https://REDACTED.com
 /wp-content/uploads/2024/10/backyard-colors-1-960x639.jpg 960w,
 https://REDACTED.com/wp-content/uploads/2024/10/backyard-
 colors-1-768x511.jpg 768w, https://REDACTED.com/wp-content/uploads/2024/10
 /backyard-colors-1-1536x1022.jpg 1536w" sizes="(max-width: 1920px) 100vw,
 1920px">
 }}}


 Strangely enough, I have completely disabled image resizing on upload so I
 suspect WP to be using the image versions generated by my WooCommerce
 plugin.

 This is on Twenty Twenty Four theme.

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


More information about the wp-trac mailing list