add content type to image