I hope you can help as I have rebuild my photo portfolio website with Publii and now face a critical issue. I am using the gallery a lot. Unfortunately sharing specific pictures from a gallery does not work at all and I was able to reproduce it on the theme demo pages for Mercury and Photography themes.
If you open a picture the URL changes, which is promising. However if you share this URL, it seems like these parameters are not processed or passed to the gallery component and the picture is not opened. This also renders the ‘share’ buttons on the gallery useless. If you use for example the Facebook share button it shares exactly the same URL as in the address bar and does not open the image, but just the page that has the gallery embedded.
As the URL is changing for each opened image my hope is that this can be fixed and the shared image will be automatically opened if such an URL is called.
Another thing that is missing, but I am not sure whether this is possible with a static site generator: If I share such a image in a gallery on Facebook that image should also be used as preview image for the URL. With that it would be perfect. But as a minimum requirement I would need the link open the shared image.
Really hope this gets fixed as otherwise I absolutely love Publii and would like to get the Photography theme, but right now this is a showstopper for me 🙁
If you open this URL: https://demo.getpublii.com/themes/mercury/3/gallery/#&gid=1&pid=2 (headphones image) you get the page without the image opened as said before. If you click on the sailboat however, Photoswipe opens the headphones. But that is really a minor issue in comparison and I guess it will be solved, when the photo is opened after launching the URL.