Is this possible?

I have a collage grid of images on a page. I want to be able to have each image in the collage to go to an image in a slide gallery that is full screen. Right now Wix has it set that the collage to the gallery you have to hit dbl arrow in upper left corner to have a full screen image. Is there a work around for this? I want to surpass the first gallery view and go straight to full image size. Many thanks in advance!

Hi,
I’m not sure that I fully understand the scenario. Do you wish to link an image from the first gallery to another image from a different gallery using code?

Thanks,
Tal.

yes

Hi,

It is possible, but will require some coding.
The idea is to go over all galleries, read the images out of it, put in an array, and set it to be the items of the collage.

Start by looking in here .
Let say you have 3 galleries called ‘#gallery1’, ‘#gallery2’, ‘#gallery3’.
Use code to create an empty array, then write a loop that goes over you galleries (1, 2, 3), reads the items and pushes whatever item you want into the array.
Then, when you have enough images, set it to the collage gallery:

$w('#collage').items = yourArray;

Good luck :slight_smile:

Liran.