Collections reference

At the moment, dynamic lightboxes aren’t supported yet. I’m assuming that’s why you’re running into this issue.
There is a custom option you can take a look at here Full CMS Lightbox!. Let us know if this wasn’t what you were looking for