• Resolved HMSRE

    (@hmsre)


    We added a custom “Lazy Load Image Placeholder” under (6) Media. It’s loading as expected for our image with one exception – the one we excluded.

    We are using our own custom data:image file. However, our logo is excluded in the “Lazy Load Image Excludes” settings and was being honored before. However, once we added our own data image, the logo is now being processed lazy load as the data:image file (not excluded).

    See here: Pennsylvania Real Estate, Homes for Sale, PA Real Estate

    Hope you can take a look and tweak or advise what we are doing wrong or fix with a future update. Thanks everyone, you know we love you the LS team!

    Dave

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hai Zheng?

    (@hailite)

    Sure if you changed logo src from url to data64, the path exclude match will miss, then it will be lazyloaded.

    However, one thing we should improve is we should detect if the current img src is a base64 src or regular url. If its not a regular url, we should exclude it from lazyload.

    Any other we can do for you? You are always welcome.

    Thread Starter HMSRE

    (@hmsre)

    Ok just so I am clear, instead of using /imagename.png for example in the excludes, since we’re using a custom data:image, that excluded image file (our logo) must be a data image too?

    Plugin Support Hai Zheng?

    (@hailite)

    Currently, yes, but I would take it as a bug, isn’t it? It should only handle URL src. It will be improved/fixed in this week’s release.

    You can always add data-no-lazy="1" to your logo which can prevent it from lazyload handling. e.g. Change <img height='100' width='300' src='https://hmsre.com/HMSRE-Clear.png' alt='HMSRE' /> to <img height='100' width='300' src='https://hmsre.com/HMSRE-Clear.png' alt='HMSRE' data-no-lazy="1" />

    Thread Starter HMSRE

    (@hmsre)

    Got it – thank you. I am patient and will wait for the update (since your team are so involved in fixing, updating and optimizing the plugin, you’re the most responsive – hands down). Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lazy Load Image Placeholder – not honoring excludes’ is closed to new replies.