Page 1 of 1
Picture as folder image in Category & Categories view
Posted: 05 Aug 2015, 11:14
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.
Re: Picture as folder image in Category & Categories view
Posted: 05 Aug 2015, 17:22
by Jan
Re: Picture as folder image in Category & Categories view
Posted: 06 Aug 2015, 07:11
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...
Re: Picture as folder image in Category & Categories view
Posted: 07 Aug 2015, 14:17
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.
Re: Picture as folder image in Category & Categories view
Posted: 08 Aug 2015, 11:09
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
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
Re: Picture as folder image in Category & Categories view
Posted: 25 Sep 2015, 13:18
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

Re: Picture as folder image in Category & Categories view
Posted: 27 Sep 2015, 23:52
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
Re: Picture as folder image in Category & Categories view
Posted: 03 Feb 2016, 16:18
by hofikhof
Hi, when can I await modifications will be applied? This functions is very important for me.
Thank you very much!
Milos.
Re: Picture as folder image in Category & Categories view
Posted: 03 Feb 2016, 19:21
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
Jan