Author Topic: Neat trick to improve quality of visually resized images in IE  (Read 3259 times)

Offline Argos

  • Posts: 2542
  • Gender: Male
    • Argos Media
I stumbled upon a neat little trick to make IE scale images more smoothly. Of course it's far better to resize images in a graphical program, before uploading and using it. Or have a server function like GD do it for you. But if for some reason images are not 'really' resized, but only get changed dimensions in the HTML, you can use a simple CSS line to prevent all those jagged edges and artefacts in the result. Just add
Code: [Select]
img { -ms-interpolation-mode:bicubic; }to the stylesheet!

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
Please don't request personal support, use the forums!