• Hello,

    I noticed a bug in the image lazy loading feature, whereby, if there is a picture element with multiple sources in the HTML, and I change the value of the “Lazy-load from nth image” setting to any number that is larger than 1, like this for example:

    https://imgur.com/a/7Y4Dqvc

    the “srcset” attribute in the picture’s sources will be replaced with “data-srcset” in the rendered HTML, meaning that they will not render on the browser, like this:

    code file:
    https://imgur.com/WGhRWec

    rendered HTML in the chrome console:
    https://imgur.com/c6sdINK

    I managed to solve this bug by telling the plugin to exclude the “srcset” attribute, but I am not sure if this is an ideal solution.

    https://imgur.com/wHpeU1S

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

    (@optimizingmatters)

    You’re right, it’s a bug. I added it as a Github issue so I can look into this sultan912 and will update here as well (if) when I have a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Lazy Loading Bug’ is closed to new replies.