unsaturated / grav-plugin-lazy-image

Grav CMS plugin that defers loading your page's images until they are scrolled into view.
MIT License
11 stars 1 forks source link

[Suggestion] Switching the JS library for lazysizes #2

Open ganar opened 6 years ago

ganar commented 6 years ago

Lazysizes is a bit larger, but it does consider other usecases, like carousels. I switched the library from the plugin and it works great

unsaturated commented 6 years ago

Perhaps a config option so admins can choose the library that works best for their situation?

ganar commented 6 years ago

Maybe there's a way to make it work with templating? it may be more resilient?