When you click on a detailed view is there way to scroll (next and back) between the gallery items, without having to go back out and in again?
How are your gallery items set up? Are your pictures on different rows or different columns in one row?
Different rows
One easy solution to this is you can make a relation within same sheet to display All Photographs by the Owner of these. So in that way the main screen will show detailed photo and you can add a card/tile layout below the main picture to show more pictures by the same owner.
If I understood your question correctly then the following thread might be useful to you…
The tutorial has some pretty neat tricks and I hope it helps.