Parameters
Code Example
Related APIs
my.chooseImage
Choose images
my.getImageInfo
Get image info
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Preview images in fullscreen mode.
| 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 |
my.previewImage({
urls: [
'https://example.com/image1.jpg',
'https://example.com/image2.jpg'
],
current: 0
});