RocketChat / RocketChat/Rocket.Chat
Previews of uploaded pictures not showing anymore
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
The preview feature of uploaded pictures is broken
Steps to reproduce:
Upload a picture
Expected behavior:
The picture is shown as a preview
Actual behavior:
Retry button, no preview
Server Setup Information:
- Version of Rocket.Chat Server: 4.3.1
- Operating System: Linux
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.22.8
- MongoDB Version: 4.4.11 / wiredTiger (oplog Enabled)
Client Setup Information
Multiple clients have exhibited the problem
Additional context
Relevant logs:
the client sends a request to /file-upload/Ayq8ZXS4PxWei863w/IMG_4408.HEIC (example image)
The server doesn't respond and the server log contains :
heif: Unsupported feature: Unsupported codec (4.3000)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the /file-upload endpoint and trace how uploaded images are processed when the client requests a preview. Reproduce the failure with the reported IMG_4408.HEIC example and use the server log's unsupported-codec error to identify the handling path. Done means supported uploaded pictures produce a preview instead of a Retry button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100