For all photos on a page?
You may want to look in the docs of the Photoswipe plugin:
So… you don’t know either?