Zen Cart Logo
Forums / Customization from the Admin / Category Image Size

Category Image Size

Views: 35,261

Results 1 to 20 of 20
23 Aug 2006, 11:07 PM
#1
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,440
Plugin Contributions:
3

Category Image Size

I've search, and search and didn't find this one. :sleepy:

I have in my admin where to change my subcategories images size (width and height) but I don't find anywhere where I change the main page category image size. Where do I change this?

1 Sep 2006, 8:56 PM
#2
mmn_maniac avatar

mmn_maniac

New Zenner

Join Date:
May 2006
Posts:
31
Plugin Contributions:
0

Re: Category Image Size

hello all,

i have the same question too, and havent found it address yet.

is there a way to change the size short of hacking up the code?

Thanks!

1 Sep 2006, 8:59 PM
#3
mmn_maniac avatar

mmn_maniac

New Zenner

Join Date:
May 2006
Posts:
31
Plugin Contributions:
0

Re: Category Image Size

well, i figured it out.. shoulda just tried figuring it out first before posting..

Go to ADMIN > CONFIGURATION > IMAGES

Look under:

Subcategory Image Width 100 Info
Subcategory Image Height 80

Those are your max pixel limits. Adjust to your liking.

Hope this helps!

8 Sep 2006, 2:39 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Category Image Size

Here's a list of image settings in admin -> configuration -> images

  • Small Image Width 125 Info
  • Small Image Height 125 Info
  • Heading Image Width - Admin 80 Info
  • Heading Image Height - Admin 80 Info
  • Subcategory Image Width 125 Info
  • Subcategory Image Height 125 Info
  • Calculate Image Size true Info
  • Image Required true Info
  • Image - Shopping Cart Status 1 Info
  • Image - Shopping Cart Width 50 Info
  • Image - Shopping Cart Height 0 Info
  • Category Icon Image Width - Product Info Pages 80 Info
  • Category Icon Image Height - Product Info Pages 80 Info
  • Product Info - Image Width 125 Info
  • Product Info - Image Height 125 Info
  • Product Info - Image Medium Suffix _MED Info
  • Product Info - Image Large Suffix _LRG Info
  • Product Info - Number of Additional Images per Row 3 Info
  • Image - Product Listing Width 125 Info
  • Image - Product Listing Height 125 Info
  • Image - Product New Listing Width 100 Info
  • Image - Product New Listing Height 80 Info
  • Image - New Products Width 100 Info
  • Image - New Products Height 80 Info
  • Image - Featured Products Width 100 Info
  • Image - Featured Products Height 80 Info
  • Image - Product All Listing Width 100 Info
  • Image - Product All Listing Height 80
29 Oct 2009, 6:04 PM
#5
ftdc avatar

ftdc

New Zenner

Join Date:
Oct 2009
Location:
Stockholm, Sweden
Posts:
16
Plugin Contributions:
0

Re: Category Image Size

Is there a minimum valu for size on additional imgs?

21 Jan 2010, 6:47 PM
#6
ajose avatar

ajose

New Zenner

Join Date:
Apr 2009
Location:
Gondomar, Porto, Portugal
Posts:
5
Plugin Contributions:
0

Re: Category Image Size

Hi!

I need help. How can i disable images from the Categories?
I manage to disable the images when im in a Categorie list, but if i choose a product, there it is again above the Categorie name.

Like in the picture.

My store: http://www.postershop.com.pt

Thank You.

clydejones:

Here's a list of image settings in admin -> configuration -> images

  • Small Image Width 125 Info
  • Small Image Height 125 Info
  • Heading Image Width - Admin 80 Info
  • Heading Image Height - Admin 80 Info
  • Subcategory Image Width 125 Info
  • Subcategory Image Height 125 Info
  • Calculate Image Size true Info
  • Image Required true Info
  • Image - Shopping Cart Status 1 Info
  • Image - Shopping Cart Width 50 Info
  • Image - Shopping Cart Height 0 Info
  • Category Icon Image Width - Product Info Pages 80 Info
  • Category Icon Image Height - Product Info Pages 80 Info
  • Product Info - Image Width 125 Info
  • Product Info - Image Height 125 Info
  • Product Info - Image Medium Suffix _MED Info
  • Product Info - Image Large Suffix _LRG Info
  • Product Info - Number of Additional Images per Row 3 Info
  • Image - Product Listing Width 125 Info
  • Image - Product Listing Height 125 Info
  • Image - Product New Listing Width 100 Info
  • Image - Product New Listing Height 80 Info
  • Image - New Products Width 100 Info
  • Image - New Products Height 80 Info
  • Image - Featured Products Width 100 Info
  • Image - Featured Products Height 80 Info
  • Image - Product All Listing Width 100 Info
  • Image - Product All Listing Height 80
13 Mar 2010, 6:10 PM
#7
derek53 avatar

derek53

Zen Follower

Join Date:
Jun 2009
Location:
uk
Posts:
111
Plugin Contributions:
0

Re: Category Image Size

Where can we increase the code for these as the images are too small. Where can we locate the option to show categories in the main page ?

Thanks

6 Apr 2010, 3:44 PM
#8
derek53 avatar

derek53

Zen Follower

Join Date:
Jun 2009
Location:
uk
Posts:
111
Plugin Contributions:
0

Re: Category Image Size

My question refers to the image/category on the main page. This is not referred to in the config/images

24 Aug 2010, 12:05 AM
#9
nikwilliamson avatar

nikwilliamson

New Zenner

Join Date:
Aug 2010
Posts:
9
Plugin Contributions:
0

Re: Category Image Size

Is there a way to add a rel link for a lightbox on this page. Please help!

30 Sep 2010, 11:43 PM
#10
ddagmij avatar

ddagmij

New Zenner

Join Date:
Jul 2010
Location:
In a van down by the river
Posts:
10
Plugin Contributions:
0

Re: Category Image Size

I'm using v1.3.9 Can anybody tell me how to make the additonal image larger? I know this is controlled by the admin>configure>images>small image setting but when I make it larger it makes my thumbnails in my new items side box larger and throws off the whole layout. Here's a link to the page I'm playing with,

http://myshirthouse.com/index.php?main_page=product_info&cPath=39&products_id=289

23 Feb 2011, 12:54 AM
#11
freax_linux avatar

freax_linux

New Zenner

Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

Re: Category Image Size

ideasgirl:

I've search, and search and didn't find this one. :sleepy:

I have in my admin where to change my subcategories images size (width and height) but I don't find anywhere where I change the main page category image size. Where do I change this?

the method i used modify the stylesheet_tm.css (or other files that is suite in your template for this) locate in includes/templates/theme345/css . Open and search for something like this:

[QUOTE=.image span{ display:inline-block; position:relative; width:230px; height:130px;}[/QUOTE]

and change the height to your desire, and also change

[QUOTE=.image a{ padding:0; cursor:pointer; text-decoration:none !important; display:inline-block; width:230px; height:130px;}[/QUOTE]

if u dont find this kind of code, maybe is diferent from template to template, open each file in your .css folder and search from some line of code including image and height and test some changes. best regards:smile:

24 Mar 2011, 11:47 AM
#12
alasdair_macleod avatar

alasdair_macleod

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Re: Category Image Size

Hi ajose,
somebody showed me this one, you can locate the file includes/templates/template_default/templates/tpl_product_info_display.php and comment out the line for display category icon.. All the best!

12 Dec 2016, 9:05 PM
#13
quickguitar avatar

quickguitar

New Zenner

Join Date:
Dec 2011
Posts:
29
Plugin Contributions:
0

Re: Category Image Size

MMN Maniac:

well, i figured it out.. shoulda just tried figuring it out first before posting..

Go to ADMIN > CONFIGURATION > IMAGES

Look under:

Subcategory Image Width 100 Info
Subcategory Image Height 80

Those are your max pixel limits. Adjust to your liking.

Hope this helps!

That pixel limit no longer seems to apply (It doesn't on my 1.54 cart) FWIW

2 Apr 2018, 4:41 PM
#14
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Re: Category Image Size

Hi I have v1.5.5f responsive installed and I am wanting to adjust the category image size by a percentage not pixels like in Admin. in stylessheet

I tried this /* .categoryIcon {float:left;width:35%;} MAX Changes to center and 100% */
.categoryIcon {float:center;width:100%;}, it did make it fill the half.

I am missing what is restricting the top category image from going 100% across the page?
https://www.uesakausa.com/index.php?main_page=product_info&cPath=1_7&products_id=24&zenid=nio074ns6ceehgg29pkfv3qis2

Any suggestions? Thanking in advanced!

2 Apr 2018, 4:52 PM
#15
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Category Image Size

I think you can make this change to your stylesheet.css

.categoryIcon img {
    margin-bottom: 5px;
    width: 100%;
}
2 Apr 2018, 5:11 PM
#16
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Re: Category Image Size

THANK YOU! I missed that, I didn't apply it to the image itself. Sometimes you just need a second set of eyes, thanks for your help LOL!

3 Apr 2018, 7:30 AM
#18
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Category Image Size

Sure, add this to your stylesheet

#categoryImgListing.categoryImg img {
    width: 100%;
}

Edit: should explain that if you find an element tag (id/class) in the HTML without a corresponding entry in the stylesheet then it's ok to just add a new stylesheet entry accordingly.

3 Apr 2018, 1:30 PM
#19
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Re: Category Image Size

It worked. Thank You so much simon1066, and also for the editing! That really is a really helpful piece of information.

3 Apr 2018, 1:37 PM
#20
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Category Image Size

No problem, glad to help.