Page 1 of 1

Can i make my picture in gallery a lightbox link?

Posted: 22 Feb 2013, 10:40
by Waynder
Same thing is in DEMO gallery where video is presented...

Can i make my picture in gallery a lightbox link?

Posted: 22 Feb 2013, 10:53
by tschortsch
Yes this is possible! First you have to activate the link attribute in settings/settings/attributes, then you will get a link field next to the image in your gallery where you have to put the lightbox code like "javascript:lightbox('path/image.jpg')"

More stuff can be found here:
https://www.photo.gallery/documentation/lightbox/

Re: Can i make my picture in gallery a lightbox link?

Posted: 22 Feb 2013, 11:12
by Waynder
I triend that now... but it still opens the picture like normal gallery =/


this is lightbox link that i used for video
Code
javascript:lightbox('http://player.vimeo.com/video/14900599?autoplay=1', {iframe:true, innerWidth:'640', innerHeight: '360'})

Re: Can i make my picture in gallery a lightbox link?

Posted: 24 Feb 2013, 20:53
by Nick
Is there a link to the page in question?

Re: Can i make my picture in gallery a lightbox link?

Posted: 25 Feb 2013, 01:58
by Waynder
will send info in PM


Thanks for helping out

Re: Can i make my picture in gallery a lightbox link?

Posted: 25 Feb 2013, 02:24
by mjau-mjau
Sorry, I am not quite sure what the main question is here ... Where exactly do you want to have the link?

Re: Can i make my picture in gallery a lightbox link?

Posted: 25 Feb 2013, 04:19
by Waynder
mjau-mjau wrote:Sorry, I am not quite sure what the main question is here ... Where exactly do you want to have the link?

like in your demo gallery for video files...

I would like that lightbox with video link opens (youtube or vimeo) when i click on photo thumb...

Re: Can i make my picture in gallery a lightbox link?

Posted: 25 Feb 2013, 06:55
by mjau-mjau
Waynder wrote:I would like that lightbox with video link opens (youtube or vimeo) when i click on photo thumb...
I don't see any where in our demo gallery where we have thumbnails that link to Youtube videos. You can set links (menu and text) to open youtube/vimeos though. In our demo gallery, we open local-hosted videos in lightbox:
https://www.photo.gallery/demo/x2/#/various/video/

Re: Can i make my picture in gallery a lightbox link?

Posted: 28 Feb 2013, 08:43
by Nick
This is solved, just for the record – Thumbnails > Thumbnail > Click should be set to Link.