Page 1 of 1
Category Images
Posted: 11 Mar 2010, 17:39
by brown12321
I want to assign a Image to a category instead of it randomly choosing an image for the category. If I have 10 images in a category, I want to be able to pick which image is displayed as the category picture.
You should be able to assign an image to a category instead on it selecting an image based on sorting, random, or special.
How can this be done?
Re: Category Images
Posted: 13 Mar 2010, 00:07
by Jan
Hi, you can set which image will be selected:
- random - random image will be selected (with every refreshing the image will be changed)
- special - special image will be selected (will be not changed by refreshing) this method save a lot of sql queries because the ordering is set by category
- order by e.g. ordering ASC - first image in the category will be set.
Jan
Re: Category Images
Posted: 23 Mar 2010, 18:26
by brown12321
Where does the image come from if you set it to special? I want to assign an image to a category and it always use that image.
Re: Category Images
Posted: 15 Apr 2010, 18:33
by Jan
You can order the images, so e.g. you will select one image and this you will order as first and then you set the ordering but ORDER ASC and the image will be displayed.
Jan
Re: Category Images
Posted: 24 May 2010, 19:50
by roccolord
Jan wrote:You can order the images, so e.g. you will select one image and this you will order as first and then you set the ordering but ORDER ASC and the image will be displayed.
Jan
I'm sorry but I'm not following you here. The question was about the "Category View Settings (List of Images)" -> "Category Image Ordering" -> "Special". Is this option really used, a quick look in the code doesn't tell me so, but you might have another view of it...

Re: Category Images
Posted: 30 May 2010, 14:59
by Jan
There are two possible ordering methods:
ordering for displaying image instead of category folder - special means, that the ordering is taken from category table so in fact first image in the category is taken
ordering for displaying images on the site - it is ordering for images displayed on the site (not images which are displayed as categories folder)
Jan