...

View Full Version : Resolved lightbox help or recommend



CBG
09-09-2011, 01:01 PM
Hi,

I have tried lightbox2 and jquery lightbox and I have the same problem with both.
I have added the javascripts and css files for the lightbox.

This is my 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>

The problem hee is when you click on the image, it want you to save the file to your computer and not use the lightbox effect.

I have to put the image through getsnap.php?etc....

Any ideas?

CBG
09-09-2011, 01:46 PM
Just put the code in the demo page and did direct url links and it worked.
Something must be mess it up

CBG
09-09-2011, 02:16 PM
It looks like it was jQuery breaking it. As soon as I removed it, it worked.
Not sure why the the jQuery lightbox wouldn't work.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum