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

Use exif_imagetype to check image format instead of extension name