• Hi,
    I have noticed that the lazy loaded images aren’t working in Internet Explorer on Windows 10 again. The images seem to load when the page first loads, but then they disappear after about a second. Could you please take a look at this?

    Thanks very much for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ante Laca

    (@alaca)

    HI @platoscave
    I’m afraid I can’t help you with this because I am a Linux user.

    Just out of curiosity, in what version of IE you are testing the site?

    Thread Starter Platoscave

    (@platoscave)

    Okay, I have asked you about this before and you fixed it last time, so maybe it will be the same issue as last time? I am using IE 11 on Windows 10.

    Thanks for your time.

    Thread Starter Platoscave

    (@platoscave)

    Hi Ante,

    We have checked out the code today and found that the src attribute is being set on the page load on Chrome, and the IntersectionObserver is not used.

    This is the relevant snippet from the JavaScript side found in wpp.min.js:

    (f.images || f.videos) && function() {
            if (e = b.querySelectorAll('[loading="lazy"]'), "loading" in HTMLImageElement.prototype) e.forEach(function(e) {
              e.src = e.dataset.src
            });
            else if ("IntersectionObserver" in a) {
              var r = new IntersectionObserver(function(e, t) {
                e.forEach(function(e) {

    It enters in the first if, which sets the src attribute. On IE11 there is no loading in the prototype of the Image element, no IntersectionObserver either. Hence it falls back on the other conditions.

    Currently this is broken on modern browsers like Chrome/Firefox because of the first if we mentioned.

    Can you please take a look?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lazy loading images not working on Internet explorer’ is closed to new replies.