WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • Neat trick to improve quality of visually resized images in IE
  • Print
Pages: [1]   Go Down

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

Argos

  • Guest
Neat trick to improve quality of visually resized images in IE
« on: March 25, 2009, 03:33:13 AM »
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!

See http://www.joelonsoftware.com/items/2008/12/22.html
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • Neat trick to improve quality of visually resized images in IE
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2