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

Use php image_type_to_mime_type function to detect Content-Type