Skip to content

[BUG] Giving claude code a file path gets converted to [IMAGE] #4705

Description

@ProCreations-Official

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version: 1.0.62 (Claude Code)
  • Operating System: macOS 26 beta
  • Terminal: Terminal app

Bug Description

When giving claude code a full file path, whether copy pasting or drag and dropping, it always gets converted to an image and claude code cannot see the file path, just the image. Typing the file path by hand seems to fix the bug, but gets annoying very fast.

Steps to Reproduce

  1. Open claude code
  2. Copy and paste (or drag and drop) a file or folder path
  3. It will get converted to an image

Expected Behavior

The file path being properly inputted for claude code

Actual Behavior

The file path being converted to an image which claude code can see the image, but not the file path

Additional Context

Activity

  1. eoJ1 commented on Aug 3, 2025

    @eoJ1

    As per my other issue (linked by Github Actions) - this seems to happen when you have a file on your clipboard, where the drag and drop gets overwritten by the clipboard a second or so after pasting it.

  2. github-actions commented on Aug 8, 2025

    @github-actions

    Found 2 possible duplicate issues:

    1. Markdown File Path Incorrectly Replaced by Clipboard PDF Image #5051
    2. Clipboard Image Paste Functionality Broken on Mac Terminal #5392

    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

  3. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    has reproHas detailed reproduction steps
    platform:macosIssue specifically occurs on macOS
    on Aug 15, 2025
  4. github-actions commented on Aug 15, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #5051.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  5. github-actions commented on Aug 23, 2025

    @github-actions

    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.

  6. locked as resolved and limited conversation to collaborators on Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions