• Resolved xboxundone

    (@xboxundone)


    I am using Autoptimize for lazy loading but want and have set to exclude:

    wp-post-image, cropped-Happiest-Camper-Logo-New-2

    and have Lazy-load from nth image set to 2.

    But yet it appears the first image in the post even though a wp-post-image is still being lazy-loaded.

    Any ideas as appears to work fine on the homepage of the site, but on posts its like it ignores the setting.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Based on the HTML source I see no Autoptimize lazyload active at the moment xboxundone ?

    Thread Starter xboxundone

    (@xboxundone)

    
    Element
    How to Make a Reading Pillow
    <img width="900" height="675" src="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…" class="img-responsive wp-post-image" alt="How to Make a Reading Pillow" loading="lazy" srcset="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…" sizes="(max-width: 900px) 100vw, 900px">

    See even states loading lazy.

    And as I stated before I have it turned on in the plugin with these settings

    set to exclude:

    wp-post-image, cropped-Happiest-Camper-Logo-New-2

    and have Lazy-load from nth image set to 2.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid loading="lazy" is WordPress core lazyloading in action xboxundone , not Autoptimize.

    Thread Starter xboxundone

    (@xboxundone)

    ok I disabled the wordpress core lazy load. now it shows:

    <img width="900" height="675" src="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…" data-src="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…" class="img-responsive wp-post-image lazyloaded" alt="How to Make a Reading Pillow" data-srcset="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…" data-sizes="(max-width: 900px) 100vw, 900px" sizes="(max-width: 900px) 100vw, 900px" srcset="https://happiestcamper.com/wp-content/uploads/2019/09/reading-pillow-featu…">

    I believe class lazyloaded is from the plugin? does autopmize not honor the nth image setting? If I put image name in the excluded it works but the image is one of the top images to load but yet its not excluding it from lazy loading as I updated the nth setting to 3

    https://happiestcamper.com/how-to-make-a-reading-pillow/

    any ideas why nth setting isn’t working?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    You’ll have to set the number even higher, based on what I see in the HTML source it is the 5th one actually. Excluding wp-post-image _should_ also work?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved xboxundone ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lazy Loading even though excluded’ is closed to new replies.