Page 1 of 1

CARD IMAGE - Lightbox Link Issue

Posted: Mon Mar 22, 2021 9:59 am
by Esox
Hello.
I have a problem like this.
Using Card
Installed jquery-1.12.4 in page settings
Lightbox: fancybox

Image

By clicking on the photo :
Image
What is the reason?

Re: CARD IMAGE - Lightbox Link? - Your Support of this Idea Would Be Greatly Appreciated

Posted: Mon Mar 22, 2021 10:44 am
by Esox
resolution 1024px

Image

Re: CARD IMAGE - Lightbox Link? - Your Support of this Idea Would Be Greatly Appreciated

Posted: Mon Mar 22, 2021 10:58 am
by Pablo
What is the exact problem?

Note that fancybox is a third party script so it is provided "AS IS".

Re: CARD IMAGE - Lightbox Link? - Your Support of this Idea Would Be Greatly Appreciated

Posted: Mon Mar 22, 2021 11:05 am
by Esox
The problem is that the image is not stretched to the size of the window in which it opens.
In settings:
width: 1920,
height: 1282,
This is the size of the window in which the image is displayed.
Where is it configured so that the image size matches the size of the lightbox?

Re: CARD IMAGE - Lightbox Link? - Your Support of this Idea Would Be Greatly Appreciated

Posted: Mon Mar 22, 2021 12:10 pm
by Pablo
As far as I know, fancybox 1.x does not have an option to autosize.

But you may want to try to the newer version.
viewtopic.php?f=10&t=80753

Re: CARD IMAGE - Lightbox Link Issue

Posted: Sat Apr 03, 2021 9:06 pm
by ColinM
Hi Esox,

I have split your posts and Pablo's replies into a new thread from the one I created.
Whilst the issue you raise has to do with cards, it is not specifically related to the thread I posted.
8)

Forum Moderator