Skip to content

mobile: images in Markdown documents render as broken #24468

Closed

Description

@dudupii

What happened

Opening a Markdown document in the Android app shows every image in the document as a broken-image placeholder (alt text with a broken image glyph). The same document renders its images fine in the desktop app.

Environment

  • Orca mobile (Android), paired with the desktop app
  • Markdown docs in a worktree, images referenced with repository-relative paths, e.g. ![screenshot](docs/images/screenshot.png)

What I expected

Repository-relative images referenced by a Markdown document render in the mobile editor, the same way the desktop editor resolves them against the document's directory.

Notes

The mobile markdown editor runs in a WebView whose document origin is a placeholder host, so a relative image src resolves against a host that cannot serve it. Nothing on the mobile side resolves those paths to file content today.

Activity

  1. nwparker commented on Oct 21, 2026

    @nwparker
    Contributor

    Cross-reference: #31304 covers standalone images in the read-only Markdown file preview, with native iPhone simulator evidence. Thank you @dudupii for this report, the placeholder-origin diagnosis, and the broader implementation in #24469; credit and a scoped review now link both PRs. #25594 preserves your authored editor implementation. This issue remains open because the rich-editor image/serialization behavior and broader Android acceptance are separate from the file-preview fix.

  2. AmoabaKelvin commented on Nov 3, 2026

    @AmoabaKelvin
    Collaborator

    Fixed in #31304 and #36970. Images in Markdown files now load on the phone, both in the preview and in the editor. Thanks for reporting!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions