Lightbox Issue

I am trying to setup a Lightbox for images in a particular folder. It will eventually be a dynamic folder but I need to get 1 folder working first. I can’t figure out what is wrong. There are 5 jpg files in a folder that I am using a server connect to retrieve. The directory retrieval seems to work fine but I can’t figure out why the Lightbox will not work. I’ve looked at the docs and older videos and I still can’t figure out what the issue is.

Any help will be appreciated.


You have quite a few issues on your page.

  1. You page does not have an opening <body> so app connect cannot be initialized. App Connect is added to the page body. Not sure how you did manage to achieve that - probably copy/pasting things around different pages?

  2. Your “header” include is actually a whole HTML page, which is also wrong. It should only be the part of the page you want to include. I suggest you to follow the docs about this and include it properly, after you fix issue 1: Server Side Includes (SSI)