liamfiddler / eleventy-plugin-lazyimages

Eleventy plugin that adds blurry placeholders & lazy loading to your images
MIT License
138 stars 29 forks source link

Merge pull request #1 from liamfiddler/masterMerge pull request #1 from liamfiddler/master #43

Closed benjaminlewandowski closed 3 years ago

benjaminlewandowski commented 3 years ago

42

added noscript wrapper function with additonal config option. When noscript tag is added, the orignal image gets an .js-image class so it can be disabled, the noscript tag gets an .nojs-image class.

liamfiddler commented 3 years ago

Sorry I've been so slow to review this, it's been a busy month!

Thanks for suggesting this feature and for the excellent PR. There's just one change I'd ask you to consider, I'll leave a comment below.

liamfiddler commented 3 years ago

This looks great. Thanks! It'll be included in the next release to npm.