Page 1 of 2
Display an image in article and more on JAK Lightbox?
Posted: 31 Oct 2010, 12:06
by zb22222
Phoca Gallery is very simple and easy to work with.
I wonder if it is possible to modify the example on the demo page:
https://www.phoca.cz/demo/phocagallery-plugin?showall=1
In the article, I will show only one image "camera", and when I click on it, shows all three images (camera, clock, display) one by one in the JAK Lightbox.
Is this possible?
Re: Display an image in article and more on JAK Lightbox?
Posted: 31 Oct 2010, 18:39
by Jan
Hi, for now this is not possible with image methods (detail window methods) if you will use e.g. modal box (iframe method) you can see previous and next buttons. If you will use image methods (e.g. shadowbox, jak, highslide js - image only) then they only display images listed on the site. So the customization can work this way:
- you will load all the images but for all except the first one, you will set css rule: display:none ... so it can be done with help of customization.
Jan
Re: Display an image in article and more on JAK Lightbox?
Posted: 31 Oct 2010, 20:55
by zb22222
Thanks for your reply Jan.
Easier said, what I want to do with Phoca Gallery, is to display one or more images in one article.
If I have multiple images in one article, I want to show a particular image, and when I click on it then see other photos in the article or in a pop-up.
Can I do it with Phoca Gallery?
Re: Display an image in article and more on JAK Lightbox?
Posted: 01 Nov 2010, 15:37
by Jan
Hi, as written above, only with hack to core file.
Jan
Re: Display an image in article and more on JAK Lightbox?
Posted: 01 Nov 2010, 16:51
by zb22222
Can you please explain a bit more?
What is it I should do and what files I should change?
Re: Display an image in article and more on JAK Lightbox?
Posted: 06 Nov 2010, 21:58
by Jan
Hi, I didn't do such modification yet, so I cannot explain it more
Jan
Re: Display an image in article and more on JAK Lightbox?
Posted: 11 Dec 2010, 11:53
by andriu
Hi,
I need the same functionality.
"Only one image from the category on the site but the ability to list all the images from that category in the modal box."
Is it possible to do this?
Regards,
Andrej
Re: Display an image in article and more on JAK Lightbox?
Posted: 14 Dec 2010, 15:25
by Jan
Hi, somehwere in the forum, there should be guide how to modify it
(to set css parameter display: none for all images except one, ...)
Jan
Re: Display an image in article and more on JAK Lightbox?
Posted: 18 Jul 2011, 21:28
by Hendriksson
Hi everyone,
I'm glad I found this! I was just trying to do the exact same thing. Did anyone ever find a way to do this?
Thanks,
Hendriksson
Re: Display an image in article and more on JAK Lightbox?
Posted: 12 Nov 2013, 20:49
by eino2007
Is there a NATIVE solution for this ???
Dear Jan, using display: none is not bad but it will load all images of the category... & it will be slow in much images...
I want to view only one image in content or module and to open the whole album with JAK lightbox...
Boxplus do it... but it have some problems (while slideshow it zooms the image & crop it
) & i prefere the JAK style!
Please advice.
thanks a lot.