In this example, the image's height is originally 98 pixels. We have used CSS to style the image to 500 pixels high.
Click the button to display the original height of the image.
Note: The naturalHeight property is not supported in Internet Explorer 8 and earlier.