I have used Lightbox2 and other lightboxes before, so I am a little used to how they work.
I wanted to not clutter my site any more than necessary, and so I left the Lightbox files in the original Lightbox2 folder; my files are outside the folder.
The page previews correctly on my computer; but, when uploaded to the web, Lightbox2 does not work.
Why would Lightbox work correctly on my computer, but not on the web? Here is a link to one of the pages in question:
Another reason for wanting the Lightbox files in their own folder is that I used to put the Lightbox files relative to the page that Lightbox was used on so I wouldn't have to change the links. I would rather have just one Lightbox folder for the entire site, and I would prefer to have it in its own folder. I posted this question on StackOverflow, but no one answered.
I would like to draw attention to another aspect: Lightbox actually responds very sensitively to deeper nesting and wide ramifications of directories, for example these things: ../../ etc. For this reason I created for all my lightbox-applications one single lightbox-directory, placed directly in the main directory. There you will find all my lightbox-php-html-files and all the subdirectories for the corresponding images.
... and from there it worked like a charm.
Europe, Middle East and Africa