View Full Version : Viewing images in lightbox
wpwood3
12-02-2007, 11:23 AM
Is there a way to cycle through the images in lightbox mode?
If I do "Click Thumbnail to Enlarge" I get a single image with no "next" or "previous" button to allow me to view more images. The only option is to close the image. You have a subfolder in your distribution "lightboximages" that contains icons. I see icons in there for "next" and prev" but they don't seem to appear when viewing an image.
Is there something else I need to do to enable this?
Sounds like a template is maybe messed up somehow and the JS for lightbox is not loading.
This also occurs if there are many images and you click on one before all the thumbs load in the panel too.
wpwood3
12-02-2007, 11:55 AM
Your vBPicGallery here on this forum works just like mine.
If I go HERE (http://www.cpurigs.com/forums/vbpicgallery.php?do=view&g=61). And I click on one of the thumbnails, there is no option to go to Prev or Next.
The link you sent me works fine in my browsers, both IE and FF.
wpwood3
12-02-2007, 12:13 PM
I'm using IE-7 on XP.
When I click on either of the 2 thumbnails, it looks like the attached pic.
There is no "next" or "prev". The only option is "Close X".
I also tried Ubuntu 7.10/Firefox and the results are the same.
Those two images don't appear until you hover in the area they would appear. Their code, not mine. hehe
wpwood3
12-02-2007, 01:01 PM
Those two images don't appear until you hover in the area they would appear. Their code, not mine. heheOk.
That was my problem when looking at your images. I did not have the mouse in the correct position.
Unfortunately, it still does not work on my install. The problem is that Prev and Next do not appear. I can position the mouse and click and it will take me to the Prev or Next pic but the Prev & Next images do not appear.
wpwood3
12-02-2007, 01:27 PM
I found the problem.
The issue was lightbox.css.
I had to change lines 57, 62 & 63 to match my configuration.
cool deal. Glad it worked out. :)
dennisuello
10-16-2008, 02:17 PM
Just upgraded from 10.7.1 to 10.7.3a. When I click on the image in the slideshow, lightbox pops up, but I have no controls for the lightbox. Can't close it or navigate.
http://www.reno4x4.com/forum/vbpicgallery.php?do=view&g=30
Any ideas?
wpwood3
10-16-2008, 02:21 PM
Try clicking anywhere outside the picture.
Yeah, that is the way to do it. But I dunno about that. Maybe we have options I can try.
BTW we're running 10.7.5 here.
Ok, in template vbpicgallery_viewgallery...
Find:
var box = new Lightbox({
'onClose': function(){ this.pause(false); }.bind(myShow),
'onOpen': function(){ this.pause(true); }.bind(myShow)
});
Add below:
box.image.addEvent('click', function(){ this.close(); }.bind(box));
This is fixed in 10.7.5
wpwood3
10-16-2008, 04:18 PM
Much better!
Thanks
Sonnie
11-30-2008, 12:04 PM
Is lightbox something you have to use? The reason I ask is that I believe some members will get confused or not be able to figure out that they need to hover their mouse over the image to see the forward and reverse buttons. It would make more sense to have forward and reverse buttons above or below the image, showing at all times.
I don't think I'll use lightbox for this. But the javascript for the slideshow is in the same package.
Badger
05-30-2009, 08:53 AM
Just upgraded from 10.7.1 to 10.7.3a. When I click on the image in the slideshow, lightbox pops up, but I have no controls for the lightbox. Can't close it or navigate.
http://www.reno4x4.com/forum/vbpicgallery.php?do=view&g=30
Any ideas?
I don't either and when I go to your web site and view the link above, I don't see the controls there as well.
I posted a separate thread about this problem on our 10.7.6pl2 implementation, before I found this thread.
http://www.cpurigs.com/forums/showthread.php?p=27753
I checked and my template has that change shown above by Greg.
Regards,
Badger
Maybe you are looking for lightbox and we have switched to slide shows?
Missing controls in either case were bad image file paths or missing images when others had this problem.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.