uploadImage
Uploads an image not related to any channel. Progress can be accessed via progressCallback.
Return
The Result object containing an instance of UploadedFile in the case of a successful upload or an exception if the upload failed.
Parameters
file
The image to be uploaded.
progressCallback
The callback to be invoked periodically to report upload progress.