Need help with eleventy-img?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

11ty
277 Stars 22 Forks 207 Commits 36 Opened issues

Description

Utility to perform build-time image transformations.

Services available

!
?

Need anything else?

Contributors list

eleventy Logo

eleventy-img

Requires Node 12+

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—this plugin does not generate any markup. Use with

or
or CSS
background-image
, or others! Works great to add
width
and
height
to your images! Does not require or rely on file extensions (like
.png
or
.jpg
) in URLs or local files, which may be missing or inaccurate.

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

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.