PDA

View Full Version : Question: lightbox works locally but not remotely



stevenfoundling
07-23-2011, 03:14 AM
Totally new to this and doing my best to figure it out as I go along, hitting wall after wall. The lightbox on my site runs correctly when viewed locally, but pops up and displays nothing but the waiting gif when I try and view it remotely. Tried fixing my permissions, but to no avail. Any help would be extraordinarily appreciated.

Here's the page in question:

http://stevenfoundling.com/painting.html

Cheers.
-Steve

bluewalrus
07-23-2011, 05:13 AM
The images are not where they are specified, for example http://stevenfoundling.com/images/paintings/ri-wolf1.jpg doesnt exist currently.

jscheuer1
07-23-2011, 05:30 AM
Quite true:

http://stevenfoundling.com/images/paintings/ri-wolf1.jpg (http://stevenfoundling.com/images/paintings/ri-wolf1.jpg)

does not exist. And:

http://stevenfoundling.com/images/Paintings/RI-Wolf1.jpg (http://stevenfoundling.com/images/Paintings/RI-Wolf1.jpg)

does exist.

Upper and lower case letters in paths and filenames almost always matter on the web, and almost never do on the local machine.

So either rename the folder and the images so that they match the case of those in the code or change them in the code so that they match the actual case on the server.