element-hq / element-hq/element-web

No preview for JPEG XL photos/pictures

Open
#28,106 1 comment 1 reaction 0 assignees View on GitHub
A-File-Upload A-Media O-Occasional O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Drag and drop jxl file with photo to Element DM chat
2. Observe that Element client attach JPEG XL photo as non picture/photo attachment (like regular non-photo file)
3. Observe there is no picture/photo preview displayed in the chat like for other picture formats like jpeg

Screenshot 2024-09-25 at 21 11 11

Note: There is no such issue on iOS mobile app.

### Outcome

#### What did you expect?
That jxl file will be treated the same as jpg file, meaning the photo preview will be displayed in the chat.
#### What happened instead?
The JPEG XL (jxl) file is attached as other non-photo regular files

### Operating system

MacOS Sequoia 15.0

### Application version

1.11.78

### How did you install the app?

_No response_

### Homeserver

Synapse

### Will you send logs?

No

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.