Display an image in article and more on JAK Lightbox?

Phoca Gallery plugins - plugins for Phoca Gallery extension
zb22222
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Oct 2010, 10:54

Display an image in article and more on JAK Lightbox?

Post 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
Image

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.

Image

Image

Is this possible?
User avatar
Jan
Phoca Hero
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?

Post 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
If you find Phoca extensions useful, please support the project
zb22222
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Oct 2010, 10:54

Re: Display an image in article and more on JAK Lightbox?

Post 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?
User avatar
Jan
Phoca Hero
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?

Post by Jan »

Hi, as written above, only with hack to core file.

Jan
If you find Phoca extensions useful, please support the project
zb22222
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Oct 2010, 10:54

Re: Display an image in article and more on JAK Lightbox?

Post by zb22222 »

Can you please explain a bit more?

What is it I should do and what files I should change?
User avatar
Jan
Phoca Hero
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?

Post by Jan »

Hi, I didn't do such modification yet, so I cannot explain it more :-( :-(

Jan
If you find Phoca extensions useful, please support the project
andriu
Phoca Newbie
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?

Post 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
User avatar
Jan
Phoca Hero
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?

Post by Jan »

Hi, somehwere in the forum, there should be guide how to modify it :idea: (to set css parameter display: none for all images except one, ...) :idea:

Jan
If you find Phoca extensions useful, please support the project
Hendriksson
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Jul 2011, 21:21
Contact:

Re: Display an image in article and more on JAK Lightbox?

Post 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
eino2007
Phoca Member
Phoca Member
Posts: 12
Joined: 22 Oct 2010, 23:28

Re: Display an image in article and more on JAK Lightbox?

Post 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.
Post Reply