Page 1 of 1

Chrome 34 now supports responsive images

Posted: Wed Apr 09, 2014 11:05 pm
by RSteinwand
http://blog.chromium.org/2014/02/chrome ... _9316.html

Just FYI.... :D

srcset will help resolve this problem by letting Web developers provide multiple resources in varying resolutions for a single image. The browser can then pick the resource that matches the device's capabilities. Here’s an example of the code:

Code: Select all

<img alt="A rad wolf." src="pic1x.jpg" srcset="pic1x.jpg 1x, pic2x.jpg 2x, pic4x.jpg 4x">

Re: Chrome 34 now supports responsive images

Posted: Wed Apr 09, 2014 11:25 pm
by Albert Wiersch
Thanks Rick. Fortunately, CSE HTML Validator (as of v14.01) already supports the "srcset" attribute. :D

Re: Chrome 34 now supports responsive images

Posted: Thu Apr 10, 2014 8:37 am
by RSteinwand
Hi Albert,

I was wondering about that, but I'm out of the office so no way to check it. At least we have a real-world application that supports it now.