RocketChat / RocketChat/Rocket.Chat
Some attachments preview not shown
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Some PNGs (and maybe some another formats ... IDK) are not displayed as image (preview, can show it as an image in client, etc.) but another PNGs are displayed as image with preview, view in client, etc.
Steps to reproduce:
- Send image (mainly tested with PNG)
Expected behavior:
Image is sent and shown in client with preview and option to view and download
Actual behavior:
Some images are displayed clearly but another images are shown just as file to download. No preview, no view window, etc.
Server Setup Information:
- Version of Rocket.Chat Server: 3.12.2
- Operating System: Debian 10 (server)
- Deployment Method: tar
- Number of Running Instances: 1 to 3
- DB Replicaset Oplog: ? (can't understand)
- NodeJS Version: v12.18.4
- MongoDB Version: 3.6.21
Client Setup Information
- Desktop App or Browser Version: (latest, auto updated in many devices)
- Operating System: any (🍎 / 🐧 / android / ...)
Additional context
Relevant logs:
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
The report identifies no files, tests, or entry points. Start by reproducing the behavior with PNG attachments on the reported server and client setup, then compare an image that previews with one that is treated only as a downloadable file. Done means the affected image formats consistently show a preview and can be viewed and downloaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, node.js, typescript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100