Code Snippet

Home » Code Snippets » CSS » Not-Terrible Image Resizing in IE

Not-Terrible Image Resizing in IE

img {
       -ms-interpolation-mode: bicubic;
}

If you scale down an image with width and/or height attributes, it's going to look terrible in IE unless you use this.

Subscribe to The Thread

  1. panchicore

    Thanks! My thumbnails has improved 100% with this hack! :D

  2. for which versions of IE is this helpful…I couldn’t really tell if this has an effect in IE6/7

  3. wow, it looks better then it does in firefox when i size them really small. thanks!

  4. I love using this in my reset stylesheet! mmmmmm :D

  5. I do not recommend the use of Internet Explorer because it is very stupid

    I would recommend the use of the browser is always the best FireFox

Speak, my friend

At this moment, you have an awesome opportunity* to be the person your mother always wanted you to be: kind, helpful, and smart. Do that, and we'll give you a big ol' gold star for the day (literally).

Posting tips:
  • You can use basic HTML
  • When posting code, please turn all
    < characters into &lt;
  • If the code is multi-line, use
    <pre><code></code></pre>
Thank you,
~ The Management ~