• Resolved headfalcon

    (@headfalcon)


    Hi, some of the images aren’t being lazy-loaded for some reason.
    I tried turning the feature on/off and clearing cache.
    For example search the page for “Bright-thinking”. the images in that section aren’t being lazy-loaded.

    Also in mobile, some images inside a carousel aren’t being lazy-loaded.

    How can we debug this?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    where is this “Bright-thinking” page ?

    if images are loaded by CSS style or another JS , it may not be lazyloaded.

    @qtwrk

    There is no “Bright-thinking” page. Request the given URL and scroll down to “Bright-thinking” section. ??

    Thread Starter headfalcon

    (@headfalcon)

    @qtwrk as Cache Crawler said, search the page for the text “Bright-thinking” to reach one of the relevant sections.

    These images aren’t loaded by css or JS. simple img tags.

    • This reply was modified 2 years, 3 months ago by headfalcon.
    Plugin Support qtwrk

    (@qtwrk)

    okay , then please enable the debug log , the log may have something

    Thread Starter headfalcon

    (@headfalcon)

    @qtwrk what am i looking for? i see lines for all the other images: “[Media] lazyload found: …”

    Plugin Support qtwrk

    (@qtwrk)

    please check if the images in question shows up or not

    Thread Starter headfalcon

    (@headfalcon)

    hey,
    I found the solution a long time ago but didn’t update here.

    The problem was cause due to line breaks inside the element (between attributes).
    so, for example, if there was a line-break before the “src” attribute then the lazy load wouldn’t work. In other words, if the src attribute wasn’t on the same line as the element start “<img…” then the issue would occur.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Lazyload not working on some images’ is closed to new replies.