Use php image_type_to_mime_type function to detect Content-Type
Merge pull request #2 from olegpopadko/content_type_set

Use php image_type_to_mime_type function to detect Content-Type