element-hq / element-hq/element-ios

Element iOS fails to load some images

Open
#5,147 14 comments 4 reactions 0 assignees View on GitHub
A-Media A-Timeline O-Uncommon S-Major T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Multiple users have reported being unable to view some images in the iOS app. Images are sent by several other members, there is no specific pattern (senders are using either element-android or element-web). images are PNG or JPEG. cases have only been seen in the case of encrypted rooms. Recipients of the image who are using element-android or element-web have no difficulty viewing the images. Images are of various filesize (70KB to 800+MB).

When the user clicks on the image thumbnail to view the image full-size, they see a blank screen as the image does not load.

### What happened?

What the user expects to see: the uploaded image

What the user sees: the image loading icon.
![index](https://user-images.githubusercontent.com/8409433/141662098-b5e3d976-373c-4369-aad3-86d8b8c9b6f5.png)

![indexq](https://user-images.githubusercontent.com/8409433/141662101-9acafd74-bdf4-4f1a-91a4-b9928c0e5c4e.png)

### Your phone model

_No response_

### Operating system version

_No response_

### Application version

_No response_

### Homeserver

mssj.me

### Will you send logs?

Yes

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.