Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

Incorrect image display when using the embed code ![Text](Link.png)

Open MarlynxLinux opened this issue 2 years ago • 5 comments

Description:

Hello.

When using the embed code ![Text](http://example.net/image.png) on the mobile version, an incorrect image display was noticed, the image is displayed twice, as well as with a violation of the proportions of the image

Environment Information:

  • Rocket.Chat Server Version: 6.4.6
  • Rocket.Chat App Version: 1.41.0-alpha.312
  • Device Name: any devices
  • OS Version: any OS

Steps to reproduce:

  1. Create a message with an embed code ![Text](http://example.net/image.png)
  2. Viewing a message from a mobile device

Expected behavior:

Correct display of the image without loss of proportions, the image is displayed once

Actual behavior:

Images, the image is displayed twice, and also with a violation of the proportions of the image

Screenshot

1000002523

MarlynxLinux avatar Nov 21 '23 08:11 MarlynxLinux

Hello @reinaldonetof. Can I work on this issue, please?

brf153 avatar Nov 24 '23 13:11 brf153

I think this issue is occurring on both the mobile and desktop apps. What should we do? Should we only display a link, and users can view the image after clicking on it? Alternatively, should we only show one image in the correct proportion?

brf153 avatar Nov 24 '23 13:11 brf153

Hey @brf153, wait a bit. We will discuss internally this, because it's happening for web and mobile too. So we need to evaluate the best approach for both. As soon as I have the answer, I share with you.

reinaldonetof avatar Nov 24 '23 14:11 reinaldonetof

@reinaldonetof oki

brf153 avatar Nov 24 '23 14:11 brf153

@reinaldonetof is there any update to this?

preeesha avatar Feb 10 '24 16:02 preeesha