element-hq / element-hq/element-android

Not displaying markdown images

Open
#2,679 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Images in chats, inserted using markdown, are not displayed.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to any chat
2. Upload image
3. Take `mxc://` link of that image
4. Type `![image](mxc://matrix.org/UvavwfHHIiKOFGXgBDCYvwYT)` and send it

**Expected behavior**
Image should display

**Screenshots**
How image displays on my phone:
![photo_2021-01-15_14-49-37](https://user-images.githubusercontent.com/4162760/104724030-2cbce600-5741-11eb-84ea-cc93141359b0.jpg)

How image displays on Element desktop app:
![2021-01-15_14h47m29s_screenshot](https://user-images.githubusercontent.com/4162760/104723912-00a16500-5741-11eb-926b-8af949f4bf04.png)

**Smartphone:**
- Device: Xiaomi Redmi 4 Prime
- OS: Android 10.0

**Additional context**
- App version and store 1.0.12 - F-Droid
- Homeserver: matrix.org

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.