AI Integration Quick Reference
AI Integration Quick Reference
Overview
The Image plugin handles messages of typeimage in category message. It renders images in a responsive grid layout with optional captions. Clicking an image opens a fullscreen gallery viewer.
Live Preview — interact with the image message bubble.Open in Storybook ↗
Bubble Rendering
- Single image — full-width image with rounded corners
- Multiple images — responsive grid (2 images side-by-side, 3+ in a masonry-style layout)
- Caption — rendered below the image grid, formatted with text formatters (mentions, URLs, markdown)
- Pending state — shows a placeholder while the image uploads
CometChatFullScreenViewer gallery with swipe navigation between images.
Context Menu Options
Conversation Preview
Returns:Photo (localized via conversation_subtitle_image key)