Page 1 of 1

Lightbox parameters

Posted: Mon May 29, 2023 8:37 am
by tba
Hi

Opening a page in a lightbox works fine but using the 'settings' to specify height, width etc seems to have no effect?

Am I missing something?

Re: Lightbox parameters

Posted: Mon May 29, 2023 9:16 am
by BaconFries
Am I missing something?
Yes..you haven’t said what lightbox you are using. With that said the width and height settings only apply to Fancybox lightbox.

Re: Lightbox parameters

Posted: Mon May 29, 2023 9:44 am
by Pablo

Re: Lightbox parameters

Posted: Mon May 29, 2023 3:01 pm
by tba
what type of lightbox...and where does one specify that?

Re: Lightbox parameters

Posted: Mon May 29, 2023 3:36 pm
by BaconFries
Did you read my reply?
"With that said the width and height settings only apply to Fancybox lightbox."

Lightbox-->Fancybox-->Settings Add the size you wish
Example:

Code: Select all

width : 500,
height : 500
Also see the following:
http://fancybox.net/api

Re: Lightbox parameters

Posted: Tue May 30, 2023 7:14 am
by tba
I cannot see that there is any choice as to which type of lightbox can be used, perhaps you can tell me where I can see that?

Re: Lightbox parameters

Posted: Tue May 30, 2023 7:39 am
by Pablo
You can set the lightbox in the page properties.
Please see the tutorial.

Re: Lightbox parameters

Posted: Tue May 30, 2023 7:56 am
by BaconFries
I cannot see that there is any choice as to which type of lightbox can be used, perhaps you can tell me where I can see that?
As previously did you read my reply? the height and width can only be applied to "Fancybox" being the type of "Lightbox" that you use for the images!
Also see Pablos reply pointing to the following
Adding a lightbox gallery to your website Examples.
and the Related Tutorials at the bottom of that page.