Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| url | String | Yes | Image URL or local path |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Code Example
Related APIs
my.chooseImage
Choose images
my.downloadFile
Download file