Link to actual (image) file

I uploaded an image on my NextCloud, then I want to share that image. The image URL is something like

I would also like to be able to get the direct file to the link, so that it would be like:

How can I achieve that?

For the latter you can use this app


Perfect thanks.