problem with lightbox after hosting

kempachi

New Member
well the problem is that the lightbox itself isnt working, it works when i test it with dreamweaver but when i upload it to the server it doesnt work
 

sysgenmedia

New Member
Hi Kempachi,

First, the original file path you linked is to a local file on your computer, not a web url.

However, going to the second link to to obtp.net website, it looks like a lot of the file path's are incorrect. When you click a picture it's attempting to load it from a obtp.net/pictures folder, but that folder doesn't seem to exist. That's also why the first 14 pictures show up as broken images.

Looking at the source, it appears that you're trying to load the images from "../pictures/" but you won't be able to go back a directory from your root web directory. I recommend making a pictures folder and uploading all the larger images there and linking to "/pictures/filename.jpg" instead of "../pictures/filename.jpg".

This may solve your problem.
 

sysgenmedia

New Member
Hi Kempachi,

I took another look, and some of the image links got fixed, but it looks like lightbox still isn't working. This looks like another file path issue. In the source, you're trying to load the scripts from "js/prototype.js", "js/lightbox.js", etc.

However, there doesn't seem to be a "js" folder, these scripts are in your root directory. You should either create a new folder called "js" and put the scripts in them or simply remove the js from your file paths to the scripts so that they become "prototype.js", "lightbox.js", etc.

Fairly sure this'll get lightbox working for you.
 

kempachi

New Member
thank you very much i got it to work great now

also im trying to put videos on my website to. im using wmv, and flv but when i go to my website they just display as a white box do you know what the problem is
 
Top