Error failed to add image - the image format is not supported

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Got error: failed to add image. The image format is not supported.

Steps to Reproduce

I used design tool (ctrl+shift+d), selected an element, pressed ctrl+L to add to chat. Got error: failed to add image. The image format is not supported.

Expected Behavior

Should add selected element and image to chat.

Screenshots / Screen Recordings

Screenshot from 2026-05-01 07-27-22.png

Operating System

Linux

Version Information

Version: 3.2.16
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.8.0-110-generic

Additional Information

Logyt

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this is a known issue in Design mode. The “image format” error is misleading. The real cause is that screenshot upload sometimes stops working after a long session.

Workaround: restarting Cursor brings it back. This has already been discussed here: Design mode : "Failed to add image. The image format is not supported.". I’m going to close this thread as a duplicate so updates stay in one place.