• Resolved MegaZ

    (@megaz)


    Hey guys, thank you for implementing all the latest changes to the Lazy Images module – I switched from BJ Lazy Load and it works as intended!

    However, I just noticed one major issue with this module – it fails to load any images when JavaScript is disabled. This is a rather serious issue that should be addressed. I would recommend to put simple Javascript detection and if it is not present, continue loading the image the old fashioned way.

    Hope to see a fix soon and please keep up the good work!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter MegaZ

    (@megaz)

    OK, after digging through the code it appears that the plugin actually does insert <noscript> data for images, but only within the content of articles! By default, I had lazy load working on the front page of my site and none of the images were showing up there. My solution was to exclude the homepage images from lazy loading, but it would be nice if the plugin had a way of detecting where it is running.

    Also, when Javascript is disabled, the initial image takes up enormous space, because it still has its height and weight properties defined. The best way to get around this would be to assign a CSS class that hides that image by default, so that we don’t end up with empty spaces above images.

    Hope this can be done sooner than later, or it looks pretty bad for those who disable Javascript.

    @megaz I apologize for missing your question initially.

    Thank you to @galbaras for the reply.

    This is, in fact, a known issue. Feel free to subscribe for updates so that you can follow our progress and be updating when a fix is ready for release.

    Thanks for the feedback. I hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lazy Images – No JavaScript’ is closed to new replies.