title: Get image size with Jquery
body: <p>I have a list of images </p>
  
  <pre><code>&lt;img src="001.jpg"&gt; 
  &lt;img src="002.jpg"&gt;
  &lt;img src="003.jpg"&gt;
  &lt;img src="004.jpg"&gt;
  &lt;img src="005.jpg"&gt;
  </code></pre>
  
  <p>Each image is 200px wide but the heights are different.  Is there a way with Jquery to find, and then set the height of each image after they load?  </p>
  
  <p>I plan on having dozens of images on a single page and don't want to add the width and height attribute to every single image tag.  </p>
  
  <p>I am using the Masonry Plugin and it requires a width and height attribute for images. </p>