Create thumbnails from images proportionally. It even works on IE6.