fn content_type_for_image(mime_type: &Mime) -> Option<String>