Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Automatically populate category images from their product images

Automatically populate category images from their product images

Locked

Views: 8,403

Results 41 to 48 of 48
This thread is locked. New replies are disabled.
5 Oct 2010, 11:41 PM
#41
webmc avatar

webmc

New Zenner

Join Date:
Jul 2010
Location:
Kent UK
Posts:
50
Plugin Contributions:
0

Automatically populate category images from their product images

I personally like sites without category images to lead straight to the products from the menu.....save people wading through categories anyway :)

5 Oct 2010, 11:46 PM
#42
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Automatically populate category images from their product images

That particular file uses
SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT
to limit the size, so those would be the settings to pay attention to here.

5 Oct 2010, 11:59 PM
#43
fontaholic avatar

fontaholic

Zen Follower

Join Date:
Jun 2008
Posts:
111
Plugin Contributions:
0

Re: Automatically populate category images from their product images

gjh42:

That particular file uses
SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT
to limit the size, so those would be the settings to pay attention to here.

Subcategory Image Width 333
Subcategory Image Height 111

i'm guessing 333 was too wide!

8 Oct 2010, 10:23 PM
#44
fontaholic avatar

fontaholic

Zen Follower

Join Date:
Jun 2008
Posts:
111
Plugin Contributions:
0

Re: Automatically populate category images from their product images

so... now i'm wondering if it's possible to have category levels display differently... like... some with images, some with just category name lists?

or is there some magic php way to make the random images appear if you've got deep categories...

12 Oct 2010, 2:32 PM
#45
webmc avatar

webmc

New Zenner

Join Date:
Jul 2010
Location:
Kent UK
Posts:
50
Plugin Contributions:
0

Re: Automatically populate category images from their product images

fontaholic:

so... now i'm wondering if it's possible to have category levels display differently... like... some with images, some with just category name lists?.

I would have thought it would display the pixel_trans.gif if there was no image which should be an invisble gif..

12 Oct 2010, 3:23 PM
#46
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Automatically populate category images from their product images

The "no image" image is settable in admin as to what file will be used, if any.
There isn't a way to distinguish category levels with this, though.

12 Oct 2010, 7:36 PM
#47
fontaholic avatar

fontaholic

Zen Follower

Join Date:
Jun 2008
Posts:
111
Plugin Contributions:
0

Re: Automatically populate category images from their product images

thanks! i've set the following in my admin.

Product Image - No Image Status 0
Product Image - No Image picture (blank)

i'm still getting double category names now though. (see screenshot)

what am i missing? :dontgetit

12 Oct 2010, 7:41 PM
#48
fontaholic avatar

fontaholic

Zen Follower

Join Date:
Jun 2008
Posts:
111
Plugin Contributions:
0

Re: Automatically populate category images from their product images

a ha. i set this...

Image Required false

and now i've just got category names for the upper categories and then random ones fill in on the bottom level... it's gonna take me a while to assign images to all the categories i've got.