Include source type of the image in metadata