For image sources automatically generate xml to for _image layer.