Are there any JavaScript or jQuery APIs or methods to get the dimensions of an image on the page?
You can also use:
var image=document.getElementById("imageID"); var width=image.offsetWidth; var height=image.offsetHeight;