OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

Need some help setting up Lightbox

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Need some help setting up Lightbox
Page: [1]
 
 
cwaddell

 

Posts: 1
Joined: 12/8/2008
Status: offline

 
Need some help setting up Lightbox - 12/8/2008 17:47:48   
I have been working on my first website and have to do a portfolio section on it. I want to use lightbox so it looks nicer but so far havent got it to work. I have just created a test page with only one image so it was a bit easier to see the codes but will eventually want to get all the images on my portfolio page to work with it.

So far the best I can do is get it to open up in a new page.

http://www.christopherwaddell.co.uk/Lightbox%20test2.html

I need to resize the image though - tried it but it messed it up a bit more so left it.

Can anyone help tell me how I can get it to work

treetopsranch

 

Posts: 1651
From: Cottage Grove, OR, USA
Status: offline

 
RE: Need some help setting up Lightbox - 12/8/2008 21:27:29   
When it opens up in a new page like yours did, that means that you have a path problem. Lightbox can't find the files it needs to display the larger photo correctly.

Check your paths very carefully. Check the js script files also to see if the paths shown are the ones you want.

If you are a beginner and don't know how to fix the paths then throw everything in one folder including your html page and try it again.

PS: I have found that litebox is a little simpler to set up for beginners. Note the spelling difference. You can google litebox to find the script.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to cwaddell)
Tailslide

 

Posts: 6758
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Need some help setting up Lightbox - 12/9/2008 2:21:42   
That page you've posted doesn't have any of the links set up to get the larger images. It needs to be (abbreviated)

<a href="larger-image.jpg" rel="lightbox" title="your caption goes here"><img src="small-image" alt="your photo" /></a>

As Don said - the usual reason for this failing is the paths to the various bits and pieces being incorrect.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to treetopsranch)
EdgeAgain

 

Posts: 26
Joined: 7/9/2008
Status: offline

 
RE: Need some help setting up Lightbox - 12/9/2008 12:13:00   
quote:

Check your paths very carefully. Check the js script files also to see if the paths shown are the ones you want.


You have three problems:

First, the following line is wrong because your path is wrong:
<script type="text/javascript" src="lightbox.js"></script>

You need to have <script type="text/javascript" src="Lightbox2/js/lightbox.js"></script>

Second, you are missing:
<script type="text/javascript" src="Lightbox2/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="Lightbox2/js/prototype.js"></script>

And third, be sure that they are in the proper order (as specified in the instructions):
http://www.lokeshdhakar.com/projects/lightbox2/

<script type="text/javascript" src="Lightbox2/js/prototype.js"></script>
<script type="text/javascript" src="Lightbox2/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="Lightbox2/js/lightbox.js"></script>

BTW, you need to resize your photo. Here you go: http://www.edjean.com/test/eye.JPG

On another note, I try to avoid using capital letters in my directories and file names whenever possible. And avoid spaces, but rather an underscore or dash.

Good luck, Ed


(in reply to treetopsranch)
ruester

 

Posts: 1
Joined: 4/30/2009
Status: offline

 
RE: Need some help setting up Lightbox - 4/30/2009 2:00:40   
I am having the same problem, I followed all steps exactly and can't get Lightbox to do anything please help, here is the link to my page (temporary page)

http://www.charlespatrickjewelers.com/LightBox/bracelet_LightBox.html

(in reply to EdgeAgain)
Tailslide

 

Posts: 6758
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Need some help setting up Lightbox - 4/30/2009 2:13:25   
The larger image doesn't appear to be where the link path says it is: /images/Jewelry/bracelets/Bellarri_ColoredStone_Over10k_1.jpg

Also - check the paths to the images within the stylesheet as it seems to be looking for the images up too many levels ../../../LightBox/images/prevlabel.gif I'd say it might need to be ../images/prevlabel.gif instead.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to ruester)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Need some help setting up Lightbox
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts