Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| urls | Array | Yes | Array of image URLs to preview |
| current | Number | No | Index of initial image (default: 0) |
| 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.getImageInfo
Get image info