Disabling featured image lazy load
-
Hello. I’m using AMP in Reader mode, and even if I’m not using any optimizer it use lazy load of featured images.
In PageSpeed Insights google recommend not to lazy load it, because it makes increase the LCP.
How could I make AMP Plugin stop lazy loading the featured image?The message is:
Largest Contentful Paint image was lazily loaded
Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint. Learn more about optimal lazy loading. [LCP]
Element:
article.amp-wp-article > figure.amp-wp-article-featured-image > amp-img.attachment-large > img.i-amphtml-fill-content<img class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async" loading="lazy" alt="" src="https://www.site.com/wp-content/uploads/2023/10/image-768x432…" srcset="https://www.site.com/wp-content/uploads/2023/10/image-1024x57…" sizes="(max-width: 1024px) 100vw, 1024px" data-hero-candidate="" data-hero="">
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Disabling featured image lazy load’ is closed to new replies.