thom4parisot / Imager.jsx

A React component for responsive images in desktop and mobile browsers. Featuring Imager.js.
https://npmjs.com/imager.jsx
MIT License
32 stars 7 forks source link

<ResponsiveImage lowsrc /> #3

Open thom4parisot opened 9 years ago

thom4parisot commented 9 years ago

lowsrc attribute to act as a default src value for a given image.

Equivalent to this Imager use case:

<img src="i-do-not-cut-the-mustard.png" data-src="i-cut-the-mustard-{width}.png" class="responsive-image" alt="">