Closed tcurdt closed 4 years ago
👋 Hi @tcurdt !
I understand. This plugin isn't a good fit if that's what you're trying to accomplish. I'm currently working on another eleventy plugin that will address this need - I'll post a link here when it's released.
Also, keep an eye out for the next release of this plugin; it will have better support for relative paths 👍
🚀 The other eleventy plugin I mentioned in my previous comment has now been released! Check it out on npm or jump straight to the loading="lazy"
example.
AND I've also just released version 2.1 of this plugin which better handles relative file paths 😃
I don't really need all the features of the plugin. Especially as it does not seem to work with relative image paths. It would be great if there was a way to configure it to just add the attribute
loading="lazy"
on all images.