How to choose preview-thumbnail for category?

Phoca Gallery plugins - plugins for Phoca Gallery extension
niklasR
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Oct 2010, 12:15

How to choose preview-thumbnail for category?

Post by niklasR »

Hi,
I want to display links to galleries with the plugin. Therefore I use the code

Code: Select all

{phocagallery view=categories|imagecategories=1}
.
But this always shows me the first image in the category as thumbnail. Is it possible to choose (within the code) an own image to display instead of the first one? I tried it with the imageid, but it didn't work.

Please help!

Thanks in advance,
niklasR
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: How to choose preview-thumbnail for category?

Post by reko »

Hi,
that's not possible. Your options out of the box are:
- a random image
- first or last image for ordering by
- - ID
- - title
- - sort order in backend
- - name
- - date

if make sure the desired image shows up first (or last) in one of the above (except random of course), it will be show as the category image
niklasR
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Oct 2010, 12:15

Re: How to choose preview-thumbnail for category?

Post by niklasR »

Okey, thank you.
When I do it like

Code: Select all

{phocagallery view=category|categoryid=2|imageid=209|pluginlink=1}
it does work properly. But can I also make the result to look like

Code: Select all

{phocagallery view=categories|imagecategories=1}
?
For example, when using view0category, it looks like Image, and when i use the second way it looks like Image (with the right image, and the name of the image, instead of the ctegory-name, but that's ok for now, I think).
Bit I actually prefer the first way, is there a way (^^) to display an user-defined image with a link to the category like the categorylink?
I hope you cans ee what i mean.

PS Sorry for the names; they are German ;)
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: How to choose preview-thumbnail for category?

Post by reko »

I see, but I'm not completely sure that it's possible :?

Did you check the documentation: https://www.phoca.cz/documents/14-phoca- ... ery-plugin?


PS: Kein problem, bin aus Österreich ;)
Post Reply