Fixed category image

Phoca Gallery - image gallery extension
MCMuckle
Phoca Member
Phoca Member
Posts: 10
Joined: 24 Jan 2011, 20:19

Fixed category image

Post by MCMuckle »

Hi,

I am loving this component and all is working well, even the frontend uploading :wink:

I would like to give my categories the same images but have only so far been able to give them a random image from inside the category. I can see in the category set up where there is a dropdown that says 'Image:select image' but there are no images in the dropdown list. I assume I need to upload an image somewhere to populate the dropdown but don't know where.

Please advise

Thanks

**EDIT** OK, I found it...it has to go into the images/stories folder

**EDIT 2**

OK, that is not what I was looking for afterall. I want to show a image instead of a category folder image. I can see how to show an image from inside the folder but how do I show a single, chosen image?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixed category image

Post by Jan »

If you find Phoca extensions useful, please support the project
MCMuckle
Phoca Member
Phoca Member
Posts: 10
Joined: 24 Jan 2011, 20:19

Re: Fixed category image

Post by MCMuckle »

Hi,

thanks for the reply :-)

So, if I understand correctly, the category image can be fixed BUT only by using an image from within the category?

Is it possible to set the category image (on the 'folder') that is NOT an image within the category?

Many thanks for your kind consideration

Martin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixed category image

Post by Jan »

Hi, in such case, the code needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
MCMuckle
Phoca Member
Phoca Member
Posts: 10
Joined: 24 Jan 2011, 20:19

Re: Fixed category image

Post by MCMuckle »

Ah, is that a particularly difficult customization? A plugin perhaps?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixed category image

Post by Jan »

Hi, I didn't do such customization yet, so cannot say :idea:
If you find Phoca extensions useful, please support the project
MCMuckle
Phoca Member
Phoca Member
Posts: 10
Joined: 24 Jan 2011, 20:19

Re: Fixed category image

Post by MCMuckle »

Well, here's something interesting...

If I have an image published but not authorised it shows as a category folder image but does not show inside the category itself. This goes someway to fixing my problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixed category image

Post by Jan »

Hi, yes, this behaviour is made intentionally so the images not listed in category can be displayed as category folder (if someone needs to have not listed category image in image list), see:
https://www.phoca.cz/documents/2-phoca-g ... t/511-tips

Jan
If you find Phoca extensions useful, please support the project
Post Reply