Use exif_imagetype to check image format instead of extension name
Merge pull request #108 from gabrielbull/develop

Use exif_imagetype to check image format instead of extension name