add image loading from XML file