Gallery with local image files

Hi,
I am looking for a solution for the following :slight_smile:
The photos are stored in a folder on the same server. I would like to avoid to duplicate them (photo folder and xwiki attachment). I would like to show them in a gallery.
My first try was use the gallery and to set the path of the image to the local path, but that did not work (Quite similar to Image from local storage but that thread doesn’t give a solution.)

Second approach: make the images accessible via http (apache) and include them in the gallery. This works. But only if xwiki and the image - http are accessible. In my case it work in my network but not with external access because only xwiki is exposed (apache not accessible from outside).
I thought xwiki would forward the image to the client, but it seems that the http-url is sent to the client.

Is there a way to use images saved on the server (not attached in xwiki) in gallery or something similar?

Thanks for your ideas and support!