RocketChat / RocketChat/Rocket.Chat

Thumbnail image and Image not loading at the same time

Open
#28,851 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When the app built using Rocket.Chat-app-engine adds attachment to the message , if the message has both thumbnail URL and image URL then only the image URL image is loaded and not the thumbnail url.

Steps to reproduce:
  1. Add an attachment using the app engine
  2. attachment must have a thumbnail and image URLs
Expected behavior:

Both the images must be shown

Actual behavior:

Only the image is loaded and the thumbnail is not loaded

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:
Additional context
This is a thumbnail URL image

image

Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Rocket.Chat with an app-engine attachment containing both a thumbnail URL and an image URL. Trace the attachment rendering path from that message and verify that both image URLs are displayed; the issue does not name a specific file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.