Responsive Images Meet-up - Paris, September 2013
we wanted an image format!!!
A container with multiple layers and an offset table on top
* with a twist
336x635
106x200
211x400
336x635
770x512
200x200
400x288
770x512
<img src="cat.1X.jpg"
srcset="cat.1x.jpg 1x, cat.2x.jpg 2x">
<img src="cat.1X.jpg"
srcset="cat.1x.jpg 1x 320w,
cat.2x.jpg 2x 320w,
cat.2x.jpg 1x 640w,
cat.4x.jpg 2x 640w,
cat 4x.jpg 1x 1280w">
Define a new qualifier as a multiple of a "base viewport" and DPR
<img src="cat.1X.jpg"
srcset="cat.1x.jpg 1m,
cat.2x.jpg 2m,
cat.4x.jpg 4m">
<img src="cat.1X.jpg"
srcset="cat.1x.jpg 1x 320w,
cat.2x.jpg (2x 320w, 1x 640w),
cat.4x.jpg (2x 640w, 1x 1280w)">