forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: flapane on March 18, 2015, 03:48:32 pm

Title: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: flapane on March 18, 2015, 03:48:32 pm
I've moved some categories I used to display in the main page, under a new category. Thus, what used to be categories, are now sub-categories.

I've noticed that I can't set a thumbnail for such new category. In fact, in order to select a category thumbnail, an album must be present in the category. If there are no albums, but sub categories only (containing, of course, albums), I can't set a thumbnail.

New category, containing 3 sub-categories. No thumbail can be set: http://www.flapane.com/gallery/index.php?cat=14

On the other hand, a thumbnail can be set for this category, which contains sub-categories *AND* albums on the same level: http://www.flapane.com/gallery/index.php?cat=10
Title: Re: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: Jeff Bailey on March 18, 2015, 11:27:12 pm
http://documentation.coppermine-gallery.net/en/categories.htm#cat_album_thumbnail
That's currently expected behavior.

There's currently atleast one feature request for this but it looks like no one has worked on it.
http://forum.coppermine-gallery.net/index.php/topic,72365.msg349710.html#msg349710
Title: Re: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: flapane on March 20, 2015, 11:48:19 am
I feared that this was the expected behaviour.
It would definitely be a nice feature.
Title: Re: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: Αndré on March 31, 2015, 10:37:31 am
If I remember correctly I created a mod somewhere in our boards. As I'm currently on a crappy mobile connection I cannot search for the thread.

Edit: I found this (http://forum.coppermine-gallery.net/index.php/topic,77008.0.html) in my inbox, that's maybe the thread I remembered. Unfortunately that's not what you're looking for.
Title: Re: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: gmc on April 01, 2015, 02:00:23 am
I remember doing something with this as well - but haven't been able to look and find it.
I remember being able to manually set (in the database) a thumb - but only lasts until you edit the category...
But thought we went further...
I'll do some more digging as soon as I can.
Greg
Title: Re: Can't set "Category" thumbnail, if it contains sub-categories only
Post by: flapane on April 07, 2015, 10:16:58 pm
Thanks. :)