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?
Display an image in article and more on JAK Lightbox?
-
- Phoca Newbie
- Posts: 6
- Joined: 29 Oct 2010, 10:54
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display an image in article and more on JAK Lightbox?
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
- 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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 29 Oct 2010, 10:54
Re: Display an image in article and more on JAK Lightbox?
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?
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?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display an image in article and more on JAK Lightbox?
Hi, as written above, only with hack to core file.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 29 Oct 2010, 10:54
Re: Display an image in article and more on JAK Lightbox?
Can you please explain a bit more?
What is it I should do and what files I should change?
What is it I should do and what files I should change?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display an image in article and more on JAK Lightbox?
Hi, I didn't do such modification yet, so I cannot explain it more
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Aug 2010, 19:33
- Location: Munich, Germany
- Contact:
Re: Display an image in article and more on JAK Lightbox?
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
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
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display an image in article and more on JAK Lightbox?
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 18 Jul 2011, 21:21
- Contact:
Re: Display an image in article and more on JAK Lightbox?
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
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
-
- Phoca Member
- Posts: 12
- Joined: 22 Oct 2010, 23:28
Re: Display an image in article and more on JAK Lightbox?
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.
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.