Replaces getimagesize() with exif_imagetype()