I was just whether is there any way to find out the dimensions of an image file using JavaScript. Let's say I have
HTML Code:
<img src=&quot;img.gif&quot; />
and I want to find out the dimensions (width and height) of it, is there anything JavaScript that could do it for me instead of me manually looking for it?

I hope you understood the point of my question, let me know if anything is unclear.