2012-05-22 13:53 Europe/Helsinki: Paul Court:
> <img src="face-600-200@1.jpeg" alt="" srcset="face-600-200@1.jpeg
> 600w 200h 1x, face-600-200@2.jpeg 600w 200h 2x, face-icon.png 200w
> 200h">
>
> Not to mention, what happens when a 3x device is released? Do I have
> to change all my code again?
As I see it, there's no way around it. And the important point to notice
is that this fact does not depend on the syntax.
Also notice that it will be much less work to add the extra 3x
declaration to the source than the work required to prepare and upload
the (not yet created) 3x image variants.
If your source format is some vector format, I'd suggest using an SVG
image as 2x variant and be done with it. In the future, a 17x display
will default to highest resolution variant you're providing and if
that's an actual vector data, you'll be fine.
--
Mikko