#49723Improve rendering of responsive images
Description
There are some tasks which could be improved when responsives images should be rendered:
- Don’t output width/height tag in img tag
- Improved option for setting multiple sources
possible variants
http://responsejs.com/
<img src="lo-fi.png" data-min-device-width-641="hi-fi.png" alt="example" /> <img src="image.jpg" alt="" data-src-600px="image-600px.jpg">
Support srcset
<img alt="The Breakfast Combo" src="banner.jpeg" srcset="banner-HD.jpeg 2x, banner-phone.jpeg 100w, banner-phone-HD.jpeg 100w 2x">
picture tag
<picture width="500" height="500"> <source src="large.jpg" media="(min-width: 45em)"> <source src="middle.jpg" media="(min-width: 18em)"> <img src="small.jpg" alt=""> <p>Accessible text</p> </picture>