Page 1 of 1

Lightbox size

Posted: Sun Mar 09, 2025 8:13 pm
by dannac
What determines the size of my lightbox ?

I have an image of 2000 pix long side ... but may show in lightbox as half that size or less.

Re: Lightbox size

Posted: Sun Mar 09, 2025 8:41 pm
by Pablo
There are many different lightbox scripts, each one has it's own options and behavior.

See also this related tutorial:
https://www.wysiwygwebbuilder.com/lightboxes.html

Re: Lightbox size

Posted: Sun Mar 09, 2025 8:57 pm
by dannac
Pablo wrote: Sun Mar 09, 2025 8:41 pm There are many different lightbox scripts, each one has it's own options and behavior.

See also this related tutorial:
https://www.wysiwygwebbuilder.com/lightboxes.html
Thanks for reply but reading that page and looking at examples

gives me no clue as to why my 2000 pix long side image is showing as less than 1000

Re: Lightbox size

Posted: Sun Mar 09, 2025 9:03 pm
by Pablo
Without knowing which (third party) lightbox you are using and what you the settings are, it will be difficult to answer your question.
Each lightbox has different behavior.

Re: Lightbox size

Posted: Sun Mar 09, 2025 9:04 pm
by crispy68
It would be helpful if A: you can tell us which lightbox you are referring to and B: provide at least a link to your page so we can see it.

You will get a lot more help if you provide DETAILS. Your question is very general.

Re: Lightbox size

Posted: Mon Mar 10, 2025 10:43 am
by dannac
I have tried fancy box and magnificpopup

do not see anywhere to adjust size setting

Re: Lightbox size

Posted: Mon Mar 10, 2025 11:02 am
by Pablo
Did you read the information in the link I gave you?

Re: Lightbox size

Posted: Mon Mar 10, 2025 11:05 am
by BaconFries
This applies to Fancybox only
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 size

Posted: Mon Mar 10, 2025 11:27 am
by dannac
Pablo wrote: Mon Mar 10, 2025 11:02 am Did you read the information in the link I gave you?
Yes

only place i saw to adjust lightbox size was for a YT video

Re: Lightbox size

Posted: Mon Mar 10, 2025 11:34 am
by dannac
BaconFries wrote: Mon Mar 10, 2025 11:05 am This applies to Fancybox only
Lightbox-->Fancybox-->Settings Add the size you wish
Example:

Code: Select all

width : 500,
height : 500
Also see the following:
http://fancybox.net/api
This will work well ... thank you !