Page 1 of 1

How to choose preview-thumbnail for category?

Posted: 28 Oct 2010, 12:21
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

Re: How to choose preview-thumbnail for category?

Posted: 28 Oct 2010, 14:03
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

Re: How to choose preview-thumbnail for category?

Posted: 28 Oct 2010, 14:18
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 ;)

Re: How to choose preview-thumbnail for category?

Posted: 28 Oct 2010, 14:27
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 ;)