Phoca Photo Plugin showing all the Phoca Gallery images at once

Phoca Gallery plugins - plugins for Phoca Gallery extension
grahamar
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Mar 2012, 16:26

Phoca Photo Plugin showing all the Phoca Gallery images at once

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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
grahamar
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Mar 2012, 16:26

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

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

You`re welcome!

Kind regards,
Benno
Post Reply