Images Responsiver

Global solution for responsive images, transforming simple image HTML syntax into better responsive images syntax.

Images Responsiver

Build Status GitHub stars license dependency status for latest release, scoped npm package Pull requests welcome

Images Responsiver tries to help developers make it easy for content authors to tackle responsive images needs.

Why does this project exist?

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, how and it is used by browsers to load the right image for current viewing context.

One repository, multiple packages

Multiple packages are managed inside this monorepo.

A Node.js package to ease responsive images: images-responsiver

Images Responsiver transforms plain, simple <img src="…"> HTML tags into better responsive images syntax with srcset and sizes attributes.

Knowing that <picture> is only required for rare advanced usages, Images Responsiver should be enough for most use cases, where the need is known as Resolution Switching.

Read this article on Cloudfour’s blog to know more of the theory.

A plugin for Eleventy: eleventy-plugin-images-responsiver

Images Responsiver is also available as a plugin for Eleventy, an awesome Static Site Generator.

It allows authors to use the simple and standard Markdown syntax for images — ![alt text](image.jpg) — and yet get responsive images in the generated HTML.

Sources and documentations

package source npm docs
images-responsiver source npm version Package size docs
eleventy-plugin-images-responsiver source npm version Package size docs


First, thank you for considering contributing to 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.

Tools and automations


This project is licensed under the MIT License.


See also the list of contributors who participated in this project.