With the new Photo App there is no public shared Photo Gallery View available.
(Since Nextcloud Version 18)
Problem:
“…the motivation of people to work on the Photos app is pretty much disappeared, so the people who complained have achieved the exact opposite of what they wanted: this feature is still not done because unhappy developer = unproductive developer.”
Reference:
So - let the old Photo Gallery App of Nextcloud live for ever
HowTo:
1.) Get old gallery app and unzip:
https://github.com/nextcloud/gallery/archive/master.zip
2.) Copy directory “gallery-master” into Your nextcloud directory:
/apps
3.) Rename director:
/apps/gallery-master
to:
/apps/gallery
4.) Replace the file purify.js:
/apps/gallery/js/vendor/dompurify/src/purify.js
has to be replaced by the file:
https://raw.githubusercontent.com/cure53/DOMPurify/1.0.11/dist/purify.js
5.) Edit max-version:
in file:
/apps/gallery/appinfo/info.xml:
...
<dependencies>
<nextcloud min-version="18" max-version="999" />
</dependencies>
...
6.) In Nextcloud 20+ the function escapeHTML was removed
Copy function escapeHTML from beginning of file:
https://github.com/nextcloud/circles/blob/workarounds-nc20/js/circles.app.elements.js
and paste in front of file:
/apps/gallery/js/app.js
7.) Login as admin into nexcloud and activate app "Gallery"
=> Have fun with sharing Your pictures!