#mapkycadepends if it's a direct file upload or a json payload uploading the image via url. File upload should be fairly robust as that will take the mime from the browser reported content-type, but downloading via url depends on the remote server reporting the content type correctly...