eleventy-img reads every byte of the source
The plugin decodes, resizes and writes multiple formats. A 2000 px WebP source at quality 80 is already close to the output you want, so extra formats are cheap.
Why it matters
- Netlify free-tier build minutes vanish on photo sites.
- Markdown images are easy to forget.
- You can convert a folder without writing a custom shortcode.
How to do it
- Convert the image directory used by the plugin.
- Keep the plugin for widths and AVIF if you want it.
- Set
formats: ['webp']if you want one format only.
Settings that work
Max width = your largest widths entry (often 1200–1600).