Event Stream Image Gallery Widget
The Event Stream Image Gallery widget lets participants upload photos from their device gallery or camera into an Event Stream. Uploaded images appear in a responsive gallery with instant real-time updates for all subscribers.
Widget Name
WIDGET_EVENT_STREAM_IMAGE_GALLERY ("EventStreamImageGallery")
Category: data
Visible in catalog: yes
Configuration
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
eventStreamId |
string |
Yes | — | The ID of the Event Stream that owns the image gallery. |
collectionName |
string |
Yes | — | The custom data type collection name that implements EventStreamEntry for this project. |
storageId |
string |
Yes | — | The ID of the storage entity where uploaded images are persisted. |
subFolder |
string |
No | event-stream-images |
The sub-folder inside the storage where uploaded images are placed. |
Example Configuration
// Widget data object for the EventStreamImageGallery widget
const eventStreamImageGalleryWidgetData = {
eventStreamId: "<event-stream-id>",
collectionName: "<event-stream-entries-collection-name>",
storageId: "<storage-id>",
subFolder: "event-stream-images"
};