IE7 image resizing


/ Published in: CSS
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  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; }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.