Page 1 of 1

Phoca Gallery Plugin: Show images from all categories?

Posted: 12 May 2012, 13:13
by TheBearded
Hi,

I am using the gallery plugin to display a single random image from phoca gallery on the main page of my website. This works fine, but the image always comes from the gallery I have specified with categoryid=x.

Is it possible to display a random image from ANY of my galleries? Or is it possible to add more than one category ID to the plugin? That would be very nice...

Thanks and regards,
Ben

Re: Phoca Gallery Plugin: Show images from all categories?

Posted: 14 May 2012, 11:37
by Jan
Hi, yes this is possible, just don't select any category - (if you have selected yet, just unselect categories in category list of the module options, so then images will be taken from all the categories)

Jan

Re: Phoca Gallery Plugin: Show images from all categories?

Posted: 15 May 2012, 01:45
by TheBearded
Hi Jan,

thanks for the reply, but I dont get it - I am embedding the plugin by using

Code: Select all

{phocagallery view=category|categoryid=3|fontcolor=#483030|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|
detail=2|displayname=1|imagerandom=1|displaydetail=1|displaydownload=0|float=right|namefontsize=12}
If I remove the categoryid parameter, nothing will show... and the plugin itself (in the plugin manager) does not have any options to select.

Could you let me know where exactly I have to deselect the categories?

Thanks and regards,
Ben

Re: Phoca Gallery Plugin: Show images from all categories?

Posted: 16 May 2012, 16:34
by Jan
Aha, now I understand, I thought about other plugin, sorry for misunderstanding. No, in plugin, this only work for one category (this is because of saving memory on server, then it can happen, that all image from all categoires will be loaded, which can then slow down the server) ... so then this needs to be directly customized in the code :-(

Jan