Get image size dimensions from a URL

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.