# Error opening image from Attachments button

**URL:** <https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435>\
**Category:** Community Support\
**Created:** [February 24, 2022, 9:15pm UTC](https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435 "2022-02-24T21:15:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsanabria](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@jsanabria](https://forums.rocket.chat/u/jsanabria)\
**Post date:** [February 24, 2022, 9:15pm UTC](https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435/1 "2022-02-24T21:15:33Z")

</div>

Hello,  
When I open an image from the chat the image loads normally and I can close the image viewer, but when I open the image from the button to the right of “attachments” the viewer seems to open, but it does not show me the image and it does not let me close it, I can only load the web browser to continue using the chat.  
Thanks

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [February 25, 2022, 10:54am UTC](https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435/2 "2022-02-25T10:54:03Z")

</div>

What version are you using?

---

<div class="post-metadata">

**Author:** ![jsanabria](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@jsanabria](https://forums.rocket.chat/u/jsanabria)\
**Post date:** [March 2, 2022, 7:51pm UTC](https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435/3 "2022-03-02T19:51:29Z")

</div>

Hello,

- Version of Rocket.Chat Server: 3.18.1
- Operating System: Ubuntu 18.04
- Deployment Method: snap
- Number of Running Instances: 1
- NodeJS Version: v12.22.1
- MongoDB Version: 3.6.14
- Proxy: nginx
- Firewalls involved:

I installed rocketchat using snap, but the SSL certificate part was done using step 6 of the following link [https://computingforgeeks.com/install-rocket-chat-on-ubuntu-with-letsencrypt/](https://computingforgeeks.com/install-rocket-chat-on-ubuntu-with-letsencrypt/) , I think combining the 2 tutorials caused the problem.

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [March 3, 2022, 10:58am UTC](https://forums.rocket.chat/t/error-opening-image-from-attachments-button/13435/4 "2022-03-03T10:58:28Z")

</div>

This probably was solved on latest versions.

I suggest you trying to reproduce this on latest, and considering upgrading too:

> [@Updating Rocket.Chat snap to 4.x track](https://forums.rocket.chat/t/updating-rocket-chat-snap-to-4-x-track/12575):
>
> Updating from 3.x track If you’re currently tracking 3.x/edge or 3.x/stable, you’ll have to first refresh to the latest revision. In other words your Rocket.Chat version must be 3.18.3 (latest in 3.x track) before you can switch to 4.x/stable or 4.x/edge channels. sudo snap refresh rocketchat-server Once this succeeds, sudo snap refresh rocketchat-server --channel=4.x/stable If you want to track edge then change the channel to 4.x/edge. Upgrading from 2.x or latest track If you’re still o…
