$string
=
'image/gif'
#1
|
image_type_to_mime_type
|
(IMAGETYPE_GIF)
|