Lightbox recommendation by multi reference fields?

Hi all!

A little backstory: I’m using Airtable to connect hundreds of individual images with many different types of events, and then what type of image that was taken in that event. Image>Event>Type of image. I’m doing this using multi-reference fields & nobull app in Airtable.

I’m looking to see if there’s any way I could use the lightbox to connect images (easy enough), but only show related images that share the same multi-reference tag? I’d like to be able to click through images in the lightbox that are only related to the current image I’m showing, and be able to repeat this at scale with all different events I have or different tags. I’ve attached a quick diagram of how it works on the backend if its of any help.

Thanks in advance!!

No read only link