Welcome to WebmasterWorld Guest from 34.231.247.139

Forum Moderators: open

Message Too Old, No Replies

Lightbox help or recommend something else

     
11:38 am on Sep 9, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 16, 2011
posts: 43
votes: 0


Hi,

I have tried lightbox2 and Jquery lightbox and have the same problem with both. Where the file is requested to be downloaded.

This is the line of code
<a href="getsnap.php?id={$user.id}&amp;typ=full&amp;picid={$pic.picno}" rel="lightbox" title="TITLE"><img src="getsnap.php?id={$user.id}&amp;typ=tn&amp;picid={$pic.picno}" width="45" height="45" alt="" /></a>


It displays the small image, but when you click on it, it request to be downloaded and not give the lightbox effect.

I did add the javascripts and css files for the lightbox.

Does anyone have any ideas for recommend another sort of lightbox to try?

Regards,
Garry
11:46 am on Sept 9, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 16, 2011
posts: 43
votes: 0


Just tested it on the lightbox2 demo with direct url to image and it working ok.

So something must be messing it up.
12:15 pm on Sept 9, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 16, 2011
posts: 43
votes: 0


Ok it seems like it was jQuery that was breaking it.
Thought not sure why the jQuery lightbox wouldn't work.

Anyway I have it working now, just need to move some code around for it to all work.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members