openclaw - 💡(How to fix) Fix [Control UI] Support inline image/media attachments in webchat chat messages [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#58543Fetched 2026-04-08 02:01:16
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
1
Author
Participants
Timeline (top)
subscribed ×1

Fix Action

Fix / Workaround

Describe alternatives you've considered

  • Canvas: requires a paired node, doesn't work for dashboard-only setups
  • Discord/Telegram: supports media natively but loses the local dashboard experience
  • Custom webchat mod: doable but the pre-built Lit SPA makes it non-trivial to hotpatch without forking
RAW_BUFFERClick to expand / collapse

Is your feature request related to a problem?

The Control UI webchat doesn't support displaying inline images in assistant messages. The agent can generate or reference local image files (emotes, webcam captures, screenshots, diagrams) but has no way to render them in the chat bubble. Canvas requires a paired node, so it's not a fallback for dashboard-only setups.

Describe the solution you'd like

Allow the agent to attach images to chat messages in webchat, either via:

  1. A media field on chat.send/chat events that renders inline in the message bubble
  2. Markdown image syntax (![alt](file:///...)) rendered in the chat message
  3. A chat.inject variant that accepts a base64 or workspace-relative image path

Describe alternatives you've considered

  • Canvas: requires a paired node, doesn't work for dashboard-only setups
  • Discord/Telegram: supports media natively but loses the local dashboard experience
  • Custom webchat mod: doable but the pre-built Lit SPA makes it non-trivial to hotpatch without forking

Additional context

Use case: agent-generated emote reactions, webcam snapshots, screenshots, diagrams — all local files the agent can already create but can't display in webchat. This would bring the Control UI chat closer to parity with channel surfaces like Discord and Telegram that handle media natively.

extent analysis

TL;DR

Implementing a media field on chat.send/chat events or supporting Markdown image syntax could enable displaying inline images in the Control UI webchat.

Guidance

  • Consider adding a media field to the chat.send/chat events to allow agents to attach images to chat messages, which can then be rendered inline in the message bubble.
  • Evaluate the feasibility of supporting Markdown image syntax (![alt](file:///...)) in chat messages as an alternative solution.
  • Investigate the possibility of introducing a chat.inject variant that accepts a base64 or workspace-relative image path to enable image rendering in the chat.
  • Assess the trade-offs of using a custom webchat mod versus implementing a native solution, considering the potential complexity and maintainability implications.

Example

No explicit code example is provided due to the lack of specific technical details, but a potential implementation could involve modifying the chat.send event to include a media field, e.g., { text: 'Hello', media: { type: 'image', url: 'file:///path/to/image' } }.

Notes

The solution should ensure compatibility with dashboard-only setups and consider the limitations of the current Canvas implementation. The chosen approach should balance the need for feature parity with Discord and Telegram with the complexity of implementing and maintaining the solution.

Recommendation

Apply a workaround by implementing a custom webchat mod to support image rendering, as it provides a more immediate solution, although it may require additional maintenance efforts.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Control UI] Support inline image/media attachments in webchat chat messages [1 participants]