Custom Lightbox in static page

Hello community!
I am trying to figure out my custom lightbox in static page, I have found a great tutorial from @PixelGeek for custom lightbox, but it works only on dynamic page with cms. So I have tried to make a few changes and almost I got it what I wanted. Only problem is that I can´t put in to images captions with description and probably I would needed change little bit the code, if is there any way how to achieve it to showing a captions in lightbox. I am sharing my project to look closer, Thank you for any help https://preview.webflow.com/preview/dfdesigner?utm_medium=preview_link&utm_source=dashboard&utm_content=dfdesigner&preview=3502ec4ac147eb361381d8491ee5a268&mode=preview