Profile
Back to NewsBack
GitHub Trending 1 min
Reader Mode
11ty/image: Utility to perform build-time image transformations.

11ty/image: Utility to perform build-time image transformations.

4 hours ago

eleventy Logo

Image utility

Requires Node 22+

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 or or CSS background-image, or others! Works great to add width and height to your images!

The full Image utility documentation is on 11ty.dev.

npm Version</a> GitHub issues</a>

Installation

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

_The full Image utility documentation is on 11ty.dev._

Tests

npm run test

Community Roadmap

Chat with me