SEO friendly lightbox

Hi,
I’m looking for a SEO friendly gallery plugin similar to what I have now, but preferably cheaper and more SEO oriented.
Right now I have this https://antongorlin.com/galleries/ocean-pictures/. It opens a lightbox with anchor text for each photo. I.e. when you click on the photo it shows url/gallery/ocean#123, where 123 is some random non SEO stuff. I’d like to either

  1. show text I have in caption
  2. or create a separate page for each photo in gallery
    are there any options for that?