11ty / eleventy-img

Utility to perform build-time image transformations.

Home Page:https://www.11ty.dev/docs/plugins/image/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eleventy Logo

eleventy-img

Requires Node 18+

Low level utility to perform build-time image transformations for both vector and raster images. Output multiple sizes, save multiple formats, cache remote images locally. Uses the sharp image processor.

You maintain full control of your HTML. Use with <picture> or <img> or CSS background-image, or others! Works great to add width and height to your images!

npm Version GitHub issues

Installation

npm install --save-dev @11ty/eleventy-img

The full eleventy-img documentation is on 11ty.dev.

Tests

npm run test

Community Roadmap

About

Utility to perform build-time image transformations.

https://www.11ty.dev/docs/plugins/image/


Languages

Language:JavaScript 95.8%Language:HTML 4.2%