downloads image from the xml.