11ty / eleventy-plugin-img

A plugin to perform runtime image transformations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eleventy-plugin-img

⚠️⚠️⚠️ This plugin has been temporarily superceded by the lower level utility eleventy-img. Please use that instead!

Installation

Available on npm.

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

Open up your Eleventy config file (probably .eleventy.js) and use addPlugin:

const pluginImg = require("@11ty/eleventy-plugin-img");
module.exports = function(eleventyConfig) {
  eleventyConfig.addPlugin(pluginImg);
};

Read more about Eleventy plugins.

About

A plugin to perform runtime image transformations.

License:MIT License


Languages

Language:JavaScript 100.0%