Questions about pictures #4294

Closed
opened 2026-02-16 17:43:19 -05:00 by yindo · 9 comments
Owner

Originally created by @JochenYang on GitHub (Jan 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

I have a question, does opencode currently not support pasting images in the input box?

Originally created by @JochenYang on GitHub (Jan 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question I have a question, does opencode currently not support pasting images in the input box?
yindo closed this issue 2026-02-16 17:43:19 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #906: Feature request for paste to attach image functionality
  • #4077: In Memory Image can't be Pasted in Opencode After TUI Upgrade
  • #4687: Cannot paste image on Zed
  • #6331: pasting images doesn't work on konsole, linux
  • #4004: On macOS, copying an image file from Finder results in pasting a generic image icon

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 6, 2026): This issue might be a duplicate of existing issues. Please check: - #906: Feature request for paste to attach image functionality - #4077: In Memory Image can't be Pasted in Opencode After TUI Upgrade - #4687: Cannot paste image on Zed - #6331: pasting images doesn't work on konsole, linux - #4004: On macOS, copying an image file from Finder results in pasting a generic image icon Feel free to ignore if none of these address your specific case.
Author
Owner

@connorads commented on GitHub (Jan 6, 2026):

It does support pasting images but it depends on your terminal and OS etc.

What's your environment?
If it's macOS and VS Code then a fix is in https://github.com/anomalyco/opencode/pull/6127 (not merged yet)
If you're using Zed there seems to be an existing open issue as mentioned above #4687

@connorads commented on GitHub (Jan 6, 2026): It does support pasting images but it depends on your terminal and OS etc. What's your environment? If it's macOS and VS Code then a fix is in https://github.com/anomalyco/opencode/pull/6127 (not merged yet) If you're using Zed there seems to be an existing open issue as mentioned above #4687
Author
Owner

@JochenYang commented on GitHub (Jan 6, 2026):

I'm on Windows 11 and I really can't paste it on. Does it also depend on whether the current model supports image understanding? Like minimax M2.1 or GLM 4.7?

@JochenYang commented on GitHub (Jan 6, 2026): I'm on Windows 11 and I really can't paste it on. Does it also depend on whether the current model supports image understanding? Like minimax M2.1 or GLM 4.7?
Author
Owner

@connorads commented on GitHub (Jan 6, 2026):

Which terminal are you using on Windows 11? VS Code? Powershell? Cmd? Ghostty?

It doesn't matter about the model I can still paste it in
Image

Can you try using a different terminal and see if it works?

@connorads commented on GitHub (Jan 6, 2026): Which terminal are you using on Windows 11? VS Code? Powershell? Cmd? Ghostty? It doesn't matter about the model I can still paste it in <img width="1517" height="319" alt="Image" src="https://github.com/user-attachments/assets/30569192-3599-4a74-b8d2-abb789acdeec" /> Can you try using a different terminal and see if it works?
Author
Owner

@JochenYang commented on GitHub (Jan 6, 2026):

powershell, the command is ctrl+v? Or alt+v? I tried it all and it didn't seem to work?

@JochenYang commented on GitHub (Jan 6, 2026): powershell, the command is ctrl+v? Or alt+v? I tried it all and it didn't seem to work?
Author
Owner

@connorads commented on GitHub (Jan 6, 2026):

I don't use Windows so I don't know.

Seems like there's an issue with powershell and pasting images see https://github.com/anomalyco/opencode/issues/6560

Can you try using another terminal and see if it works?
e.g. https://alacritty.org/ or VS Code

@connorads commented on GitHub (Jan 6, 2026): I don't use Windows so I don't know. Seems like there's an issue with powershell and pasting images see https://github.com/anomalyco/opencode/issues/6560 Can you try using another terminal and see if it works? e.g. https://alacritty.org/ or VS Code
Author
Owner

@JochenYang commented on GitHub (Jan 6, 2026):

I use the preview version of powershell, and I can paste it in vscode's terminal. That should be PowerShell's failure

Image
@JochenYang commented on GitHub (Jan 6, 2026): I use the preview version of powershell, and I can paste it in vscode's terminal. That should be PowerShell's failure <img width="666" height="284" alt="Image" src="https://github.com/user-attachments/assets/d0584f93-f0f1-4f36-a7c1-919f32da6d40" />
Author
Owner

@connorads commented on GitHub (Jan 6, 2026):

Cool we've identified the issue is Powershell so I guess you can close this issue and subscribe to the existing Powershell issue: https://github.com/anomalyco/opencode/issues/6560

@connorads commented on GitHub (Jan 6, 2026): Cool we've identified the issue is Powershell so I guess you can close this issue and subscribe to the existing Powershell issue: https://github.com/anomalyco/opencode/issues/6560
Author
Owner

@JochenYang commented on GitHub (Jan 6, 2026):

ok,thanks!

@JochenYang commented on GitHub (Jan 6, 2026): ok,thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4294