Search…

X3 Photo Gallery Support Forums

Search…
 
Waynder
Topic Author
Posts: 19
Joined: 18 Feb 2013, 04:44

Can i make my picture in gallery a lightbox link?

22 Feb 2013, 10:40

Same thing is in DEMO gallery where video is presented...
 
tschortsch
Experienced
Posts: 150
Joined: 01 Apr 2010, 17:23

Can i make my picture in gallery a lightbox link?

22 Feb 2013, 10:53

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/
 
Waynder
Topic Author
Posts: 19
Joined: 18 Feb 2013, 04:44

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

22 Feb 2013, 11:12

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'})
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

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

24 Feb 2013, 20:53

Is there a link to the page in question?
firedev.com
 
Waynder
Topic Author
Posts: 19
Joined: 18 Feb 2013, 04:44

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

25 Feb 2013, 01:58

will send info in PM


Thanks for helping out
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

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

25 Feb 2013, 02:24

Sorry, I am not quite sure what the main question is here ... Where exactly do you want to have the link?
 
Waynder
Topic Author
Posts: 19
Joined: 18 Feb 2013, 04:44

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

25 Feb 2013, 04:19

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...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

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

25 Feb 2013, 06:55

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/
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

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

28 Feb 2013, 08:43

This is solved, just for the record – Thumbnails > Thumbnail > Click should be set to Link.
firedev.com