I couldn't find anything regarding type on an image element, but realized that the MIME type was being checked on file. So mapped that over, which matches all the other API's.
Tested using JPG and PNG, the two supported file types.
I couldn't find anything regarding `type` on an `image` element, but realized that the MIME type was being checked on `file`. So mapped that over, which matches all the other API's.
Tested using JPG and PNG, the two supported file types.