Feature request: Display agent-generated PNG/JPG inline in chat

Feature request for product/service

Cursor IDE

Describe the request

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/

Operating System (if it applies)

Windows 10/11

Hey @stoupoun!

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:

  • ![](outputs/charts/...) 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?

@stoupoun it should just work!

Make sure you’re using the latest version of Cursor, and that you’ve restarted Cursor (I’m sure you have since we last chatted)

How does this compare to what you’re doing/seeing? Feel free to share screenshots yourself.