eleventy-plugin-lazyimages

Eleventy plugin that adds blurry placeholders & lazy loading to your images

MIT License

Downloads
1.5K
Stars
138
Committers
14

Bot releases are hidden (Show)

eleventy-plugin-lazyimages - v2.1.2 Latest Release

Published by liamfiddler almost 3 years ago

eleventy-plugin-lazyimages - v2.1.1

Published by liamfiddler almost 3 years ago

Update dependencies to their latest versions (adding M1 mac support).

eleventy-plugin-lazyimages -

Published by liamfiddler almost 4 years ago

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.

eleventy-plugin-lazyimages -

Published by liamfiddler about 4 years ago

Adds WEBP & SVG support, increases the quality of LQIP, passes outputPath to transformImgPath, & better handles width/height attributes.

eleventy-plugin-lazyimages - v1.1.2

Published by liamfiddler over 4 years ago

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).

eleventy-plugin-lazyimages -

Published by liamfiddler over 4 years ago

  • Fixes srcset being ignored set when using native lazy loading
eleventy-plugin-lazyimages -

Published by liamfiddler over 4 years ago

  • Enable transparency for placeholder images. c5f3ad2
  • Fix outputPath error with permalink: false 1ece28c
  • Set all attributes except the ones that require JIMP d5de2db
  • Only process files supported by JIMP 0fec03a
  • Provide backwards support for those using strings as className c52d603
  • Switch className to array allowing for multiple classes e980268

https://github.com/liamfiddler/eleventy-plugin-lazyimages/compare/v1.0.6...v1.1.0

eleventy-plugin-lazyimages -

Published by liamfiddler over 4 years ago

eleventy-plugin-lazyimages -

Published by liamfiddler over 4 years ago

  • Add config option to prioritise the custom lazy loading script over native lazy loading
  • Fix init script error in Internet Explorer
  • Add example project using eleventy-plugin-local-images
eleventy-plugin-lazyimages - Update the banner image.

Published by liamfiddler over 5 years ago

eleventy-plugin-lazyimages - Initial release to npm

Published by liamfiddler over 5 years ago

Package Rankings
Top 3.5% on Npmjs.org
Related Projects