Inline images don't render — only an empty file chip appears, click does nothing

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jun 18, 2026 · closed Jun 24, 2026

Description

When Claude attempts to display an image inline in the chat (e.g. a generated PNG sent into the conversation), the image does not render. Instead only a file chip is shown (a "PNG" icon + filename + size, e.g. example.png — 963 B). Clicking the chip does nothing — there is no image preview and nothing opens.

Steps to reproduce

  1. Have Claude generate/send an image file into the chat (e.g. a small PNG).
  2. Observe the message: a file chip appears but no inline image preview.
  3. Click the chip — nothing opens.

Expected

The image renders inline (or opens a preview on click).

Actual

An empty file chip is shown, no image is rendered, and clicking it does nothing.

Environment

  • Claude Code on Windows 11
  • Model: Opus 4.8
  • The file was a valid ~963 B PNG, confirmed openable in other apps outside Claude Code.

Notes

This looks like a client-side rendering bug rather than a problem with the file itself — the same PNG opens fine outside the app. As a workaround, embedding the image as an inline base64 <img> via a rendered HTML widget DID display correctly, so the issue appears specific to the file-attachment / chip rendering path.

View original on GitHub ↗

4 Comments

github-actions[bot] · 3 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/67869
  2. https://github.com/anthropics/claude-code/issues/67920
  3. https://github.com/anthropics/claude-code/issues/66194

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

webtask-eu · 3 months ago

<img width="1200" height="516" alt="Image" src="https://github.com/user-attachments/assets/4bce0d68-9054-459e-8f74-89f5c54312ba" />

chaoshuai-ant · 3 months ago

Fixed in the next release

github-actions[bot] · 1 month ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.