Gathering detailed insights and metrics for eleventy-plugin-images-responsiver
Gathering detailed insights and metrics for eleventy-plugin-images-responsiver
Gathering detailed insights and metrics for eleventy-plugin-images-responsiver
Gathering detailed insights and metrics for eleventy-plugin-images-responsiver
Global solution for responsive images in Eleventy, allowing authors to use Markdown syntax for image and yet get responsive images in generated HTML.
npm install eleventy-plugin-images-responsiver
Typescript
Module System
Node Version
NPM Version
JavaScript (79.65%)
Shell (20.35%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
10 Stars
945 Commits
2 Forks
2 Watchers
1 Branches
5 Contributors
Updated on May 08, 2025
Latest Version
3.0.0
Package Id
eleventy-plugin-images-responsiver@3.0.0
Unpacked Size
9.51 kB
Size
4.00 kB
File Count
4
NPM Version
10.8.2
Node Version
22.5.1
Published on
Oct 22, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
eleventy-plugin-images-responsiver
is a simple solution for most responsive images needs with Eleventy.
This Eleventy plugin allows authors to use the standard Markdown syntax for images (
) and yet get responsive images in the generated HTML, with srcset
and sizes
attributes.
As Steve Jobs once said:
You've got to start with the customer experience and run backwards to the technology.
Responsive images are one of the most difficult topics nowadays for front end developers and content authors, they involve multiple features and syntaxes, but they are required to provide a good performance to Web users.
Most content authors should not have to learn the complex responsive images HTML syntax, and how it is used by browsers to load the right image for current viewing context.
Knowing that <picture>
is only required for rare advanced usages, eleventy-plugin-images-responsiver
should be enough for most use cases, known as Resolution Switching. Read this article on Cloudfour's blog to know more of the theory.
eleventy-plugin-images-responsiver
is the glue between Eleventy plugin and transformations system and images-responsiver
, the generic HTML transformation npm package for simple responsive images.
Eleventy uses Markdown-it to transform Markdown content into HTML, and then runs the transform added by eleventy-plugin-images-responsiver
, which calls images-responsiver
to actually transform the HTML.
Warning This plugin doesn't generate any image, it has to be used either with already existing images, a local image resizing solution (should work with the official eleventy-img plugin), or a third party service ("image CDN") like Cloudinary.
Learn more in the detailed documentation.
To install and use the plugin, install it as a dev dependency in your Eleventy project:
npm install eleventy-plugin-images-responsiver --save-dev
Instead of jumping directly into the list of features and configuration options, let us take your hand and guide you through a step by step tutorial with actual examples.
Let's start here!
If you already know how to use the plugin and want to go directly to a section of the tutorial, here are direct links:
To deal with responsive images in Eleventy, there are multiple other plugins:
First, thank you for considering contributing to eleventy-plugin-images-responsiver
! It's people like you that make the open source community such a great community! 😊
There are many ways to contribute to this project. Get started here.
This project is licensed under the MIT License.
See also the list of contributors who participated in this project.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 2/18 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More