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