The width attribute overrides the natural "width" of the image. Retrieve the width attribute and examine it's value.