Category Image

Phoca Gallery - image gallery extension
likestuff
Phoca Professional
Phoca Professional
Posts: 137
Joined: 18 Jul 2008, 03:06

Category Image

Post by likestuff » 09 Jul 2020, 23:38

Hello :)

Is it possible to use a specific image/logo for each category?

Thanks

Tags:

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

Re: Category Image

Post by Benno » 10 Jul 2020, 09:17

Hi,
yes, this is possible and there are two different ways to do it:
1.) see: https://www.phoca.cz/documents/2-phoca- ... t/511-tips
Tips
1. Image representing a gallery (category)
In Phoca Gallery you can display different images/icons which will represent the gallery (category):


Image - when editing category, image can be selected and this will represent the category
Folder icon - can be set in parameters
Avatar - can be set in parameters
Image from the category - it can be random image but even an image with specific ordering (e.g. first image from the category will be set). If you want to display an image as category icon and you don't want to display such image in list of category, then you set the first image as unauthorized. Such image will be displayed as category icon but will be not displayed in list of images. (Don't forget to set right ordering of images which should be selected as folder icon, if you have unauthorized first image, then the ordering must be ordered by ordering, so the first unauthorized image will be selected)
2.) Use this parameter:
Image

Kind regards,
Benno

likestuff
Phoca Professional
Phoca Professional
Posts: 137
Joined: 18 Jul 2008, 03:06

Re: Category Image

Post by likestuff » 10 Jul 2020, 20:03

Thank you :)

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

Re: Category Image

Post by Benno » 10 Jul 2020, 22:16

You're welcome!

Kind regards,
Benno

Post Reply