Posted By

paul66 on 01/27/11


Tagged

css ie image resizing


Versions (?)

IE7 image resizing


 / Published in: CSS
 

URL: http://code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/

IE7 by default uses an image resizing algorithm that means that scaled down images can look far from awesome. To solve this, we simply enable a much better resizing algorithm that is available in IE7 that produces results similar to what you’d expect from most image editing software. To read more about this, and similar solutions for IE6, follow the link.

  1. /* bicubic resizing for non-native sized IMG:
  2. code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
  3. .ie7 img { -ms-interpolation-mode: bicubic; }

Report this snippet  

You need to login to post a comment.