element-hq / element-hq/element-web
No preview for JPEG XL photos/pictures
- 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
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
Assessment
This issue has not been assessed yet.