# Get image size dimensions from a URL

**URL:** <https://forum.kirupa.com/t/get-image-size-dimensions-from-a-url/318309>\
**Category:** flash\
**Created:** [January 16, 2011, 4:39pm UTC](https://forum.kirupa.com/t/get-image-size-dimensions-from-a-url/318309 "2011-01-16T16:39:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![treeleaf20](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Post date:** [January 16, 2011, 4:39pm UTC](https://forum.kirupa.com/t/get-image-size-dimensions-from-a-url/318309/1 "2011-01-16T16:39:22Z")

</div>

All,  
I’m loading images from an XML file and I know what the image name is, however this is in a string variable. How can I get the dimensions of the image from this?

Thanks for the help in advance.
