Re: Adaptive images

Le 30 mai 2011 à 09:43, Dominique Hazael-Massieux a écrit :
> But one aspect that remains difficult to manage in such an approach is
> handling of content images.


one technique which is also used currently (and not satisfying) is
<div class="img" data-height="100" data-src="image.png" data-width="100" />

Another possibility using javascript and data-* API [1]

 <img src="lowres" data-src="highres" alt="boo"/>

Though it doesn't solve to have more than one image


Karl Dubost -
Developer Relations & Tools, Opera Software

Received on Monday, 30 May 2011 14:25:08 UTC