Feature request: Display agent-generated PNG/JPG inline in chat
When an agent generates a simple image in the workspace (e.g. a matplotlib chart saved to outputs/charts/foo.png), there’s no reliable way to preview it inline in the chat thread.
What works today:
Users can attach/paste images into chat (vision input)
Agents can read PNG/JPG files via tools
Markdown like does not render in chat
Clickable file links work, but require opening the file externally
What would help:
Render workspace PNG/JPG paths inline in agent replies (thumbnail or full width)
Support common relative paths from the project root, e.g. outputs/charts/S&P500_MT_LINE.png
Optional: agent tool or convention like @preview outputs/charts/foo.png
Use case Data/charting workflows where the agent renders a chart and the user wants immediate visual feedback without leaving the chat or opening Photos/Preview.
Environment: Cursor on Windows 11, agent chat with slash commands generating PNGs to outputs/
Thanks for the feedback. We had this developed, but only just now turned it on for users. Could you give it another try and let us know if your images display inline?
Hi @Colin and wow! This has to be the fastest ever feature idea/release turnaround! Thanks a lot, I am going to test it, I just saw a new update popup this afternoon, so will try to update and see if it works. I will report back
I am afraid my Cursor is not finding a way how to do it @Colin According to him "Read does not embed the PNG in the message body. On current Cursor builds it surfaces a link" and his attempt at markdown also fails: What does not work:
 markdown embeds
True inline thumbnails in the chat stream (at least on your build, even with Detailed density)
Is there any specific instructions I should give him?