Understanding attachnments (images)

Description

Hello fellows,
I’m having some basic questions about the handling of image attachments, hope somebody is willing to explain.
Basically I want to accomplish to seamlessly insert a self uploaded image between text. With the basic upload function this doesn’t seem to be possible, as it looks like this:

So the only way I found to do what I want is to log in with Chrome/Firefox and inspect the image to get the direct link, then adding it with the image formatting like this:

![Alt text] (https://image_url)

Then it looks like I want:

So first question: Is there no easier way to accomplish the second formatting within the rocket.chat desktop app for Windows?

Second question: The direct link (this format: https://rocketchat-url/file-upload/xxx.jpg ) seems to be shareable / accessible to everyone. I can open and download the image in a private browser window, this feels wrong. I’m storing attachments to gridfs (default settings). So is this expected behavior?

Third question: If I delete the uploaded attachment from the message history, the link is still available and I can still download the image. What’s the proper way to completely remove it from server?

Best regards

Server Setup Information

  • Version of Rocket.Chat Server: 1.3.2
  • Operating System: Linux
  • Deployment Method: Snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 8.11.4
  • MongoDB Version: 3.4.20
  • Proxy: no