title: Javascript Image Resize
body: <p>Does anyone know how to resize images proportionally using JavaScript?</p>
  
  <p>I have tried to modify the DOM by adding attributes <code>height</code> and <code>width</code> on the fly, but seems did not work on IE6.</p>