Help Implementing Lightbox Into Repl is my site. I would like to add lightbox for my credentials. Can somone pls help me?


looks like the pkg js is at:
and the css:
link those with a style and a script tag
you also need a folder named images and store these inside
I use the docs for ref:
and the pkg at
Now just do this (from docs):


  • Single images. Add a data-lightbox attribute to any image link to enable Lightbox. For the value of the attribute, use a unique name for each image. For example:
<a href="images/image-1.jpg" data-lightbox="image-1" data-title="My caption">Image #1</a>


  • Add a data-title attribute if you want to show a caption.
  • Add a data-alt attribute if you want to set the alt attribute of the linked image.
  • Image sets. If you have a group of related images that you would like to combine into a set, use the same data-lightbox attribute value for all of the images. For example:
<a href="images/image-2.jpg" data-lightbox="roadtrip">Image #2</a>
<a href="images/image-3.jpg" data-lightbox="roadtrip">Image #3</a>
<a href="images/image-4.jpg" data-lightbox="roadtrip">Image #4</a>

sorry for bad response it’s very late
hope this works

1 Like