Page 1 of 1

Phoca Photo Plugin showing all the Phoca Gallery images at once

Posted: 29 Jul 2023, 00:27
by grahamar
Hi

Apologies if this is not the right place in the forum for this question.

I am using the Phoca Photo Plugin alongside the Phoca Gallery Component.

When I edit an article I add the code in the article that I understand to mean as per below:

{phocaphoto view=category of the Phoca Gallery image|id=the image id}

so i enter the code as {phocaphoto view=Lounge | id=10} or even {phocaphoto view=Lounge|id=10}

The result i get in both cases is all the images from the entire gallery are displayed within the article - not the specific image.
I am using Joomla 4 and the latest versions of the plugin and component.

I'm sure Im doing something silly here but I cant figure out what it is.

Thanks for any help you can give me!

Re: Phoca Photo Plugin showing all the Phoca Gallery images at once

Posted: 29 Jul 2023, 08:30
by Benno
Hi,
see: https://www.phoca.cz/documentation/113- ... oto-plugin
Parameters

phocaphoto view=category|id=4

view = There is only one parameter: category
id = ID of Phoca Gallery category
max = Select maximum count of displayed images
This means, it's possible to display a single image of a category in the article, but because there are no limit parameters it's always the first image of this category:
Image

Kind regards,
Benno

Re: Phoca Photo Plugin showing all the Phoca Gallery images at once

Posted: 29 Jul 2023, 10:56
by grahamar
Hi,

Thank you for replying.

For some reason ( mostly my lack of concentration I think!) I missed the max parameter in the code.

Indeed everything works well now I added this.

Thank you for your fast response.

Gary

Re: Phoca Photo Plugin showing all the Phoca Gallery images at once

Posted: 29 Jul 2023, 14:43
by Benno
You`re welcome!

Kind regards,
Benno