how can l get the image size, before it loads into html?
<p>At first image height is coming as zero, after that by refreshing the page i am getting its actual height. I need to get its height at first time? could any body helps me?</p>

<pre><code>$j(document).ready(function(){
           var imgV = new Image();
           imgV.src="http://www.kerrvilletexascvb.com/Riverside%20Nature%20Center3.JPG";
           $j("#imgD").html(imgV.height);
           alert(imgV.height);
});


&lt;div id="imgD"&gt;&lt;/div&gt;
&lt;img src="http://www.kerrvilletexascvb.com/Riverside%20Nature%20Center3.JPG" /&gt;
</code></pre>
