Direct link to preview pdf of nextcloud content

HI folks

Is that possible without share link?
This is need for direct links to wiki’s/mails/chats



i would like to use direct links like Photobucket offers, preferrably with a simple “direct link” box containing an URL to the picture that i can copy, to be able to share pictures on forums.
I searched for a plugin to add this functionality but can’t find what i am looking for.