Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62527, comment 2


Ignore:
Timestamp:
11/22/2024 07:11:40 PM (13 months ago)
Author:
junior
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62527, comment 2

    initial v1  
    1 I  am also having the same problem but it's only happening to some images. Here's an example:
    2 
    3 Blurry image (notice the loading="lazy"):
     1edit - Removed my previous comment since it may not have been related to this issue.
    42
    53
    6 {{{
    74
    8 <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">
    9 }}}
    10 
    11 Not blurry (no loading lazy):
    12 
    13 
    14 {{{
    15 <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">
    16 }}}
    17 
    18 
    19 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.
    20 
    21 This is on Twenty Twenty Four theme.