I tried with something like this:
var Height = $(this).naturalHeight;
But it doesn\'t work. Is there any way to do that
greez
The best you can do is to hide an image without setting the width and height and use the image source for this image as your original image. Then calculate the dimension of this hidden image.
Or else you can calculate the physical dimension in server side and pass that to a hidden element in the page and fetch the size from that hidden element value.