• Resolved wprox

    (@wprox)


    Hi Florian,

    Thanks for this cool plugin, just getting started…

    I have a table of contents at the top of my page with anchor links to sections throughout the long page.

    With this plugin, the anchor links are not working right: the link takes you somewhere above that anchor, probably because it’s trying to load all the images in between???

    I looked at another site’s long page with a table of contents and many images that uses lazysizes.js, and I was able to click their anchor links no problem. Those links would FLY right to the correct section, skipping many images on the way, to far bottom of the page in lightening speed! I was hoping that was a lazysizes.js thing, but not getting that with your plugin…

    Help?

    Thanks a lot!!! ??

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey,

    mh… I included the noscript pattern for the no js styles and published a beta with that. Would you give it a try and check if that resolves the issue? https://github.com/florianbrinkmann/lazy-loading-responsive-images/releases/tag/v3.3.0-beta.1

    Thanks,
    Florian

    Thread Starter wprox

    (@wprox)

    Thanks a lot Florian!

    So sorry, that was actually my error, I had some css that was overriding your .lazyload {display: none; } for that device. I fixed the issue on my end, and it looks great.

    Interesting, that with the new plugin version with the spinner, the Initiator in Dev Tools is no longer lazysizes, but now called Other…

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    All right, no problem, great it works now ??

    Regarding the other: for the images there is the lazysizes script as Initiator for me, also with the spinner option enabled.

    Best,
    Florian

    Thread Starter wprox

    (@wprox)

    Thanks Florian!

    So, today my initiator is back to lazysizes too, not sure what that Other was yesterday. I am switching back and forth between js and no js a lot, so not sure if that’s affecting anything.

    Just noticed tons of errors in my error_log since 07-Mar-2018 14:22:17 UTC with this format:
    [07-Mar-2018 14:22:17 UTC] PHP Warning: getimagesize(https://mydomain.com/wp-content/uploads/2017/08/each_image_on_page.jpg): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
    in /home/myID/public_html/wp-content/plugins/lazy-loading-responsive-images/src/Plugin.php on line 262

    It goes through every image on the page. The line changed to 231 yesterday, perhaps when I loaded the new plugin version.

    Any idea what this is?

    Thank you ??

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey,

    a user on GitHub had the same issue. I do not know exactly why that happens, but 3.3.2 should fix it (removed the getimagesize() call for now). In the warning it looks like the param is not passed as a string, but I did not notice issues in development, so… I will have to take a deeper look at it, but for now using 3.3.2 should ?fix? it ??

    Best,
    Florian

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Anchors don’t work’ is closed to new replies.