Eleventy plugin that adds blurry placeholders & lazy loading to your images
Fixes an import issue (#53)
Full Changelog: https://github.com/liamfiddler/eleventy-plugin-lazyimages/compare/v2.1.1...v2.1.2
Update dependencies to their latest versions (adding M1 mac support).
This release improves support for relative file paths in src
attributes and image paths without file extensions.
transformImgPath
now receives an optional second parameter containing the outputPath
of the file being processed, as well as the outputDir
, inputPath
, and inputDir
values from eleventy config.
This release also adds the setWidthAndHeightAttrs
config option which allows you to turn off the setting of width
and height
attributes being added to img
elements.
Adds WEBP & SVG support, increases the quality of LQIP, passes outputPath to transformImgPath, & better handles width/height attributes.
This release features better handling of inline data URIs, Twitter-style URIs with the image format passed as through the query string, and improved documentation (including answers to common questions).
srcset
being ignored set when using native lazy loadinghttps://github.com/liamfiddler/eleventy-plugin-lazyimages/compare/v1.0.6...v1.1.0
https://github.com/liamfiddler/eleventy-plugin-lazyimages/compare/v1.0.5...v1.0.6
https://github.com/liamfiddler/eleventy-plugin-lazyimages/compare/v1.0.2...v1.0.3