Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate (closest: Android shows only the first image, cropped, when several Markdown images share a paragraph #28063, [Bug][Mobile]: Can't quickly swipe left/right through multiple screenshots/videos from e2e test output #15508, [Bug]: PR description images after captions bypass authenticated media loading without a blank line #26663).
- I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
-
On iPhone, open a thread whose assistant message puts screenshots at the end of caption lines, for example:
**Petition: empty form**  **Petition: after an empty submit.** Errors fill the reserved lines. 
-
Wait for the images to load.
-
Tap one of the images, then try to swipe to the next one.
Expected behavior
- An image that shares a line with text still shows at a readable size (or as a thumbnail block under the line), like on desktop.
- Tapping it opens the viewer with every image in the message, and you can swipe to the next or previous one.
Actual behavior
- Each image shows as a tiny round icon about one line tall, so you can't see what it shows. Agents often post captioned screenshots this way, so a whole message of before/after shots turns into a row of dots.
- Opening one shows only that image. There's no swiping to the others.
Impact
Major degradation or frequent failure
Version or commit
iOS app (current App Store build); code references are to main @ 86d8838
Environment
iPhone, T3 Code iOS app connected to a remote Linux server
Diagnosis
This comes from reading the code. I haven't reproduced it in a dev build.
markdownWithFileEmbeds(apps/mobile/src/lib/markdownDocument.ts) treats an image asstandaloneonly when it's the only child of a top-level paragraph. Only standalone images getThreadMarkdownImage, which has proper sizing and joins the gallery throughwithGallery.- An image after caption text isn't standalone.
markdownFileEmbedLabelreturnsnullfor it, so it stays an image and the nativereact-native-enriched-markdownview draws it inline at line height. The app doesn't set an inline image size inmarkdownStyle. - Chat messages don't pass
onImagePresstoEnrichedMarkdownText, so a tap on an inline image goes toonLinkPresswith a single URL and no gallery.
Possible fix: lift an image that ends or starts a text paragraph into its own block, the way PR #30280 does for image-only lines. It would then render through ThreadMarkdownImage and join the gallery.
Related
- Android shows only the first image, cropped, when several Markdown images share a paragraph #28063 / PR fix(mobile): show every image when Markdown puts one per line #30280: the same branch point on Android, for images on consecutive lines. The PR splits image-only paragraphs, and its description says images with caption text are not covered. This is that case.
- [Bug][Mobile]: Can't quickly swipe left/right through multiple screenshots/videos from e2e test output #15508 (closed): mobile swipe between images. Swiping works for standalone images, but inline images never join the gallery.
- [Bug]: PR description images after captions bypass authenticated media loading without a blank line #26663: images after captions in PR descriptions skip authenticated loading. Same branch point, different symptom.
Screenshots, recordings, or supporting files
iPhone: six screenshots in one assistant message, each shown as a small circle at the end of its caption line.
Workaround
Ask the agent to put each image on its own line with blank lines around it.

Activity
juliusmarminge commentedon Nov 22, 2026
#37117, now on main: Tapping a captioned inline image now opens the viewer with the message's image gallery, allowing paging between its images.
Not done: Images sharing a line with caption text still render as tiny icons; the requested readable thumbnail or block layout remains unimplemented.
maria (decided by hand on her review site)
Closing; open a new issue if what is left still matters to you.