I was searching a solution to get height and widht of an image using javascript. I got many but all those solution only worked when image present in browser cache.

Finally I got one solution to get image height and width even image does not exist in browser cache. Just I want to share all of you.

Code:
<script type="text/javascript" language="javascript1.2">

var imgHeight;
...