Can I get the image height from jquery prior to displaying it?
<p>I'm loading around 50 images from json data returned from PHP.  To avoid the extra call of PHP getting the image size I'd like to do this on the client side.  Is this possible?</p>

<p>Here's my current jquery call to build the image list:</p>

<pre><code>// Create HTML for the images.
var html = '';

$.each(data.profiles, function() {

    // Can I determine the img height or do I need to wait until the image is loaded?

    html += '&lt;a href="/view_profile.php?id='+this.user_id+'"&gt;';
    html += '&lt;img src="'+this.file_name+'" width="200" height="" style="border:0;"&gt;';
    html += '&lt;/a&gt;&lt;br&gt;';

});
</code></pre>
