reads in image xml