Picture as folder image in Category & Categories view

Phoca Gallery - image gallery extension
hofikhof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Aug 2015, 11:08

Picture as folder image in Category & Categories view

Post by hofikhof »

Hello,

How I can set defined picture as image in category and categories view as folder image if I use special ordering in options?
I mean that is random image :(
It is any possibility set one image from category which will be used as folder picture in category?

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Picture as folder image in Category & Categories view

Post by Jan »

If you find Phoca extensions useful, please support the project
hofikhof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Aug 2015, 11:08

Re: Picture as folder image in Category & Categories view

Post by hofikhof »

Ok, but sometimes was a picture of category changed if i set ordering... after I must delete all pictures and again add pictures :(
I would prefer this option in phocagallery...
hofikhof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Aug 2015, 11:08

Re: Picture as folder image in Category & Categories view

Post by hofikhof »

It would be good have to choice in admin panel. Maybe by ID of picture... Or not?
If no then in which line is code for assigment picture to category?
Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Picture as folder image in Category & Categories view

Post by Jan »

Hi, added to feature request list.

Yes, you can set it when ordering will be changed, but mostly an ordering you set only once - when creating the site, then it is mostly not changed anytime :idea:

To change it in code, depends on where you want to change it - if in categories view or in category view:

components/com_phocagallery/views/categories/tmpl/default.php (or other files in this folder - depends on options)
components/com_phocagallery/views/category/tmpl/default_images.php

and of course there are used functions which are set in libraries folder or helper folder.


Jan
If you find Phoca extensions useful, please support the project
hofikhof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Aug 2015, 11:08

Re: Picture as folder image in Category & Categories view

Post by hofikhof »

Hi, when can I expect these modifications?
It is very important for me on our production web.
Thank you very much and have a nice day :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Picture as folder image in Category & Categories view

Post by Jan »

Hi, unfortunately, I don't know, on my feature request list, there are over 700 feature requests, so really no idea when I will take a look at it :-(

Jan
If you find Phoca extensions useful, please support the project
hofikhof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Aug 2015, 11:08

Re: Picture as folder image in Category & Categories view

Post by hofikhof »

Hi, when can I await modifications will be applied? This functions is very important for me.
Thank you very much!

Milos.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Picture as folder image in Category & Categories view

Post by Jan »

Hi, for now I still don't have any time or date for this :-(

Is there any way for you to just use the first image in the category. Usually it is done that users will add some picture, such is set as first and if they don't want, such picture will be displayed in category, they make it "not authorized".

Not authorized means - such image will be displayed as folder icon but it will be not displayed in category.
In fact it is the same like you select ID of the image. It is just another form, the first picture is displayed as folder icon :idea:

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