ivopetkov / responsively-lazy

Lazy load responsive images and HTML
https://ivopetkov.com/responsively-lazy/
1.1k stars 43 forks source link

no-script not working #16

Closed WebsiteRob closed 7 years ago

WebsiteRob commented 7 years ago

Howdy,

Did some testing and found with JS disabled within the Browser, no images will show.

Windows 7 64bit Firefox 53.0.2 Opera 45

I can get image to show if "srcset" attribute is removed.

Other than that it looks like a nice script you've put together. Kudos for providing it open source with MIT Licensing.

ivopetkov commented 7 years ago

Yes, that's correct. The library requires JavaScript. If you really need support for disabled JS I'd recommend adding <noscript><img src="myimage.jpg"></noscript>.