# Get Image dimensions of imported images

**URL:** <https://forum.kirupa.com/t/get-image-dimensions-of-imported-images/221921>\
**Category:** flash\
**Created:** [April 9, 2007, 1:15pm UTC](https://forum.kirupa.com/t/get-image-dimensions-of-imported-images/221921 "2007-04-09T13:15:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benny\_hill](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@benny\_hill](https://forum.kirupa.com/u/benny_hill)\
**Post date:** [April 9, 2007, 1:15pm UTC](https://forum.kirupa.com/t/get-image-dimensions-of-imported-images/221921/1 "2007-04-09T13:15:27Z")

</div>

Is there a way to get the height and width of an image that was loaded via an xml file? I am making an Image Viewer and I want the display to resize to the dimensions of the image loaded.

Thanks
