View Full Version : Get Lightbox to work
August 7th, 2012, 11:07 PM
I recently had a professional install of PP. I can not get lightbox to show the image at the bottom to show to click to close the window.
Light box seems to work, but no image.
August 7th, 2012, 11:14 PM
Just to explain. I have tied editing lightbox.js and that did not did not fix it.
August 7th, 2012, 11:17 PM
I also tried full URLs. It still does not work. Any help is appreciated.
August 8th, 2012, 06:33 AM
It does a popup window but no images. Weird.
I have check in multiple browsers and it will not even load the image in firefox.
August 8th, 2012, 10:44 AM
The issue with your lightbox is you did not set your lightbox thresholds correctly. To load lightbox you must set the thresholds so that any image under those thresholds will use lightbox. If they are over the setting then the big popup window is used. You should see lightbox being used.
August 9th, 2012, 10:58 AM
I've been trying for years to get it to work correctly... still can't figure it out. It should not be this complicated...
August 9th, 2012, 11:16 AM
It is not complicated in any way I think. You set the thresholds and as long as the image is under the thresholds lightbox is used.
Middle view - ReefTalk Gallery (http://www.reeftalk.com/gallery/members-galleries/p1170-middle-view.html)
IMG_5533 - PhotoPost Photo Gallery (http://www.photopost.com/photopost/test/p7944-img-5533.html)
Now as I have posted on the support forums for it to work there are two things to consider when using lightbox.
1. You actually have to be creating a medium image. If there is no large image to click and show then there is no need for a lightbox feature.
You can see by the examples shown it works and the customer here his site works as well once I assisted him in setting his thresholds to 1500. His where set to 900 width and 600 height which means since his large images were over 600 in height they where always opening up in a regular popup window not lightbox.
August 9th, 2012, 11:58 AM
Why don't you enable attachments as it would save us all time if I could just show you my settings....
August 9th, 2012, 12:26 PM
Not sure what you mean customers post attachments here all the time. You can post one anytime you wish however I do not think you would need to there are not really alot of settings to discuss.
In Admin => Show Photo Options you turn on lightbox and set the thresholds as I have stated.
As long as your creating medium images you will see lightbox. Maybe your issue is you do not have medium images.
Attachments though do not really mean anything to provide support I would usually need to see need one to post a full direct url for me to comment on as noted in our sticky on the subject of what info to provide when asking for support.
August 9th, 2012, 01:16 PM
Here is the URL to my gallery: http://photos.sirstevesguide.com/basic-3-3-4-figures/p42324-hasbro-star-wars.html
August 9th, 2012, 01:20 PM
Okay are you using 8.12 having uploaded all the files and your lightbox thresholds are both set to say 1500?
You could be using a pre version 8 java file. Maybe try reuploading the js directory from our download.
August 9th, 2012, 01:24 PM
I want my lightbox to trigger at 751px width.
My lightbox settings are: 751 and 1201
I will update the js files but with any major update, I always replace all files.
August 9th, 2012, 01:31 PM
Steve those are not the settings I noted in post 9. Your lightbox thresholds and toggle are under Show Photo Options not Upload Options in admin. ;)
Like I said I would suggest you make sure your using the latest js files as they changes in version 8 so older ones will not work and make sure your lightbox settings width and height are both 1500 and you turn lightbox on.
That should make it work for you.
August 9th, 2012, 01:45 PM
I edited my post... I had to step away.
August 9th, 2012, 01:51 PM
You want to set both your thresholds to at least 1250 so they grab all your images otherwise based on what I see if your image width is over 751 as your max width is 1100 lightbox is not used.
Just my observation on that and I would suspect maybe your js file is older so replacing it might help.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.