High Quality CSS Thumbnails in IE7

By gilbitron in CSS on 13/03/2009 at 10:00

Views: 502
Tagged: ie7, css, image
URL: http://devthought.com/tumble/2009/03/tip-high-quality-css-thumbnails-in-ie7/

Starter:

IE7 supports a custom bicubic resampling mode for images. This produces a much higher image quality for resized images.

Main Course:

/* HTML:
<img src="pic.jpg" alt="This image is really 500x500 big" class="thumb" width="50" height="50" />
*/
 
img.thumb { -ms-interpolation-mode: bicubic; }

Expand Report Code | Install Coda Clip

Please log in to vote.

Compliments to the Chef

No comments yet...

How was your Meal?


  • Allowed HTML: <b><strong><u><i><em><a>

  • Why ask? It helps us stop spam comments.