PhotoUploadGallery
Multiple image upload component with drag-and-drop reordering.
Usage
<PhotoUploadGallery label="Gallery" name="photos" endpoint="/api/upload" maxFiles={10}/>With Compression
<PhotoUploadGallery label="Gallery" name="photos" endpoint="/api/upload" compression={{ format: 'webp', size: 2048, quality: 85 }}/>Props
| Prop | Type | Description |
|---|---|---|
label | string | Upload label text |
name | string | Field name for form data |
endpoint | string | Upload API endpoint |
maxFiles | number | Maximum number of files |
value | array | Existing image URLs |
compression | object | Compression settings |