• Resolved wini128

    (@wini128)


    Hello,

    I am looking for how to exclude a specific HTML container (div) or a whole page for the lazy-load function. Is there a specific way to do this?

    Thanks in advance
    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wini128

    Thank you for your inquiry and I am happy to assist you with this.
    You cannot exclude a specific HTML container (div) or a whole page for the lazy-load function.
    You can exclude the class or the specific image by adding the class or the full image URL to the Performance>User Experience>Exclude words. Of course, make sure to save all settings and purge the cache once done.
    Thanks!

    Thread Starter wini128

    (@wini128)

    Hello,

    thanks for the quick reply!
    Unfortunately I can not edit the images because they are hard embedded in a plugin. I only know the external “src=” address. Is it possible to put them in the exclude words? If so, how do you have to address it?

    Thanks in advance
    Best regards

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wini128

    You can try with the URL in the “src=” or possibly try to change the Script Embed method: in Perfomrance>User Experience to Sync(to head), save all settings and purge the cache.
    Thanks!

    Thread Starter wini128

    (@wini128)

    Hello,

    thanks for the suggestions!
    Have tried both solutions and unfortunately without success. Can it be that it is due to the syntax?
    Have tried the following:
    data-src=”https://example/../.jpg”
    src=”https://example/../.jpg”
    fullurl=”https://exampletest.com”

    I have also tried it without quotation marks.
    Do you have another solution suggestion?

    Thanks in advance!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wini128

    The only thing that may help is to exclude the full URL:
    https://exampletest.com/someimage.jbg.
    If that does not work then the issue is on how those images are embedded and you should disable Lazy loading in this case.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘exclude certain range for lazy-load’ is closed to new replies.