export images to xml