[BUG] Can't add image to chat when using claude code via wsl2.

Resolved 💬 4 comments Opened Jul 16, 2025 by jcroy Closed Jan 4, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: 1.0.53 (Claude Code)
  • Operating System: Win 11 WSL2 Ubuntu

Bug Description

If you are using claude code on wls2 and drag a image from the windows host to claude code while it is running on the ubuntu wsl2 instance it fails obviously as the path is a windows file path.

Steps to Reproduce

  1. Select an image
  2. Drag onto chat
  3. See if claude is able to see it.

Expected Behavior

Chat be able to see the screenshot.

Actual Behavior

It sees the attempt but it fails as ubuntu has no idea what to do with c:/Users/jdoe/Pictures/screenshot.jpeg

Additional Context

Potentially would work if it was able to convert to the wsl2 path for accessing windows files. /mnt/c/Users/jdoe/Pictures/screenshot.jpeg.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗