title: Width and height not changing when setting img src property
body: <p>Using Javascript to change an 's src... First time the width and height properties are being set correctly.  The Second time they don't change.  Why?</p>
  
  <p>So I've got this blank image on my page... <code>&lt;img id="imgCropImage" /&gt;</code></p>
  
  <p>So the idea is that every time a user uploads an image, the uploader's UploadComplete callback will set this image's src to the image that has just been uploaded so that it can be cropped.  <em>I then use this image's <strong>height</strong> and <strong>width</strong> properties</em> in order to create a blown up crop preview.  </p>
  
  <p>It works great the first time.  The browser or the DOM or <em>something</em> automagically set the img's height and width attributes which I access via the DOM after the image has loaded.  It's beautiful.</p>
  
  <p>If the user uploaded the wrong image, I want to allow them to upload a different one.  This time however, the img's width and height attributes, accessed via javascript, remain the same as the prior image.  The new image displays correctly in it's own width and height, it's just that the tag's properties do not change along with a new src.</p>
  
  <p>Does anyone know why this happens?  Or even better, how I could deterministically get the img's height and width upon loading a new src?</p>
  
  <p>I &lt;3 stackoverflow and I &lt;3 you.</p>