Conversation Markdown images and Browser Use / node_repl result images use one
shared thumbnail layout and full-screen preview dialog. Chat attachment previews
and the persistent Preview Pane remain separate because they own loading/error
metadata and pane lifecycle respectively.
max-h-90.h-44 thumbnails on desktop.rounded-xl, a semantic border/background, and
object-cover.ArrowLeft and ArrowRight controls centered
vertically against the viewport. Keyboard arrows perform the same navigation.titleBarOverlay caption area.
Linux keeps the dialog content below its self-drawn titlebar and preserves a
trailing inset for the action row. macOS, Web, and mobile keep the normal
top-right inset because their window controls do not occupy this corner.data: images continue through the bounded
byte payload path. Web uses a size-bounded response reader when JavaScript can
read the source, and falls back to browser-native navigation for cross-origin
HTTP(S) sources that reject CORS so renderer memory is not used as an
unbounded download buffer.data:image/... sources never enter the network path; their content is
bounded in renderer memory and saved through the byte-payload IPC variant.node_repl provides the retained images emitted by the same tool
result as one group and suggests result-image-{index}.{ext} filenames. Core
currently retains at most MAX_NODE_REPL_DISPLAY_IMAGES = 2 display images
per result.| Case | Setup | Action | Expected |
|---|---|---|---|
| SIG-001 | One Markdown or Browser Use image | Render message | At most half message width and max-h-90 |
| SIG-002 | Multiple images on narrow mobile | Render message | One column, wrapped without horizontal scrolling |
| SIG-003 | Multiple images on small screen | Render message | Two columns, equal-height cropped thumbnails |
| SIG-004 | Multiple images on desktop | Render message | Horizontal h-44 thumbnails wrapping to new rows |
| SIP-001 | One image | Open preview | Centered image, no navigation arrows |
| SIP-002 | Multiple images | Open the second thumbnail | Second image active; arrows and keyboard navigate the group |
| SIP-003 | Zoomed image | Drag or pinch | Translation/zoom stay within configured bounds |
| SIP-004 | Any image | Download | Active image is saved through the current platform path |
| SIP-005 | Navigated/zoomed image | Change image | Zoom and translation reset to 100%/center |
| SIP-006 | Windows or Linux desktop preview | Open preview | Download/close stay outside native or self-drawn controls |