Support » Plugin: Native Lazyload » Not seeing errors, but Lighthouse doesn’t see images lazy loading

  • gwberto

    (@gwberto)


    After installing the plugin, I’m not seeing the actual lazy loading take place, and neither is Lighthouse.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Felix Arntz

    (@flixos90)

    I’m curious what’s causing this. What does the HTML markup of some of the images on your page look like? Do they contain the loading="lazy" attribute?

    gwberto

    (@gwberto)

    No, I don’t see the loading="lazy" attribute on any tags. I see the portion in the head of the document that it added:

    <style type="text/css">
    .no-js .lazy[data-src] {
    	display: none;
    }
    </style>

    And this towards the bottom of the page (starting with):

    <script type="text/javascript">
    if ( 'loading' in HTMLImageElement.prototype ) {
    Plugin Author Felix Arntz

    (@flixos90)

    That’s odd. Can you tell me which theme and plugins you are using? I wonder why the img tags don’t receive the loading attribute in your setup.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this review.