• Resolved StephenEquus

    (@stephenequus)


    How do I disable a3 Lazy Load on a specific image? WP Rocket has “data-no-lazy” attribute we can add to an image so their plugin will skip over it.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Steve Truman

    (@a3rev)

    @stephenequus

    a3 Lazy Load supports excluding individual images, videos and iframes via the class

    a3-notlazy

    Example
    <img class=“a3-notlazy” >

    You should be able to add that and exclude the image?

    @stephenequus

    I had the same problem and I was saved by your asking a question, thank you.

    @a3rev

    The slide part at the top of the page is a widget, and there was a problem that the image size increased when the widget was turned off in the settings.

    After modifying the widget as per your instructions,

    <img class="a3-notlazy">

    was displayed with the correct image size.

    I much appreciate it.

    Thread Starter StephenEquus

    (@stephenequus)

    And your plugin allows me to “Skip Images Classes” by adding a class in a field to prevent the specific image type from getting lazy Loaded.

    Ok, I think I got it. Let me double-check over the next day or two to make sure “we good”. I’ll close it then, please.

    Plugin Author Steve Truman

    (@a3rev)

    @tutokoguides

    Thanks for your feedback. We have a new release coming out this month – We will add the <img class="a3-notlazy"> instructions to the Images option panel under skip by class. Currently they are in the Details page under FQA’s

    I have created an issue for it on the plugins Github repo

    @stephenequus

    Yes thanks – If it is all good with you please change the status to Resolved. If not let me know.

    @a3rev

    Thank you for your response, and I’m so glad to hear from you that you will add the <img "class=a3-nplazy"> instructions to the image option.

    Before I’ve came here, I’ve alreday checked “FAQ’s” and tried to using “image-class 1”, however this method could not clearing error.

    I checked support page, and then I soreted this error by I putted on class="a3-nolazy" in HTML of image.

    Thread Starter StephenEquus

    (@stephenequus)

    Ok we can close this. Thanks a bunch for the help.

    Plugin Author Steve Truman

    (@a3rev)

    @stephenequus @tutokoguides

    Version 2.2.0 released yesterday – the exclusion class has been updated to skip-lazy but don’t worry there is backward support for a3-notlazy.

    FYI the upgraded classname follows an initiative among 15 developers of plugins that provide lazy-load functions to standardize the lazy load exclusion class to skip-lazy and the attribute (if supported) to data-skip-lazy

    @stephenequus you started this thread with

    How do I disable a3 Lazy Load on a specific image? WP Rocket has “data-no-lazy” attribute we can add to an image so their plugin will skip over it.

    The developers who are supporting this initiative (not started by us) total 3 million plus active installs.

    The chief aim of doing this is to make life that little bit easier for the WordPress community as a whole.

    Won’t be giving anymore details at the moment as I don’t want to steal the Groups thunder for the public announcement – but we are all pretty happy that we can work together in this small way for the common good.

    • This reply was modified 4 years, 10 months ago by Steve Truman.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Disable 3 Lazy Load on a specific image’ is closed to new replies.