Problem
When the assistant generates or reads an image file (PNG/JPG), the image is not displayed directly in the webchat interface. Instead, users see either:
- A broken/empty response
- Need to manually open the file path in the filesystem
This happens with:
read tool on image files
message tool with image attachments
- Screenshots and generated images
Expected Behavior
Images should render inline in webchat, similar to how they work in other channels (Discord, Telegram, Slack).
Current Workaround
Users must:
- Open file path directly:
\\wsl$\Ubuntu\home\wang\.openclaw\...
- Use a local HTTP server and open in browser
- Switch to another messaging channel
Proposed Solution
Add image rendering support to webchat:
- Detect when
read tool returns an image
- Display inline with proper MIME type
- Support
message tool image attachments
Environment
- OpenClaw version: latest
- Channel: webchat
- Platform: WSL2 (Linux)
Related
This would improve the user experience for:
newspaper-brief skill (generates newspaper-style images)
stock-analysis skill (charts)
- Any screenshot or image generation use case
Problem
When the assistant generates or reads an image file (PNG/JPG), the image is not displayed directly in the webchat interface. Instead, users see either:
This happens with:
readtool on image filesmessagetool with image attachmentsExpected Behavior
Images should render inline in webchat, similar to how they work in other channels (Discord, Telegram, Slack).
Current Workaround
Users must:
\\wsl$\Ubuntu\home\wang\.openclaw\...Proposed Solution
Add image rendering support to webchat:
readtool returns an imagemessagetool image attachmentsEnvironment
Related
This would improve the user experience for:
newspaper-briefskill (generates newspaper-style images)stock-analysisskill (charts)