Problem creating my bootstrap image gallery with lightbox2

Hi! I am trying to figure out how to create a photo gallery using bootstrap with lightbox2. There are two issues I keep running into, 1) When I click on the first image, I’m automatically kicked back to the home page rather than the modal just opening up the image in my art gallery page and 2) the first time that I do click on the first image, the modal does pop up and allows me to cycle through the gallery images but then when I close out and try to click the images again, the modal doesn’t pop up at all and I am again kicked back out to the home page, rather than staying on the art gallery page. Any advice would be much appreciated as I have tried watching tons of youtube videos along with googling and I just can’t seem to get past this. Thanks in advance!

Hi there,

Could you post your CodePen project or link to your repo?