Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Main Page Category Image Size

Main Page Category Image Size

Locked

Views: 7,661

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
17 Feb 2008, 1:56 AM
#1
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Main Page Category Image Size

Hi,

I have 'Categories - Always Show in Main Page' set to 1, as I want them displayed, but can someone please tell me how to change the size of the image that is displayed. My stock images are 150px by 150px, and I want them larger. I've changed them to the desired size, but the image size on the main page does not change.

I've adjusted every size that I can find within admin but I've not hit the right one yet..!

I know its probably staring at me, but after looking for an hour I'm over it.!

Please help save my grey hairs and put me out of my misery..

17 Feb 2008, 4:55 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page Category Image Size

Try admin > config > sub category images > Subcategory Image Width and Subcategory Image Height

17 Feb 2008, 5:19 AM
#3
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Main Page Category Image Size

kobra:

Try admin > config > sub category images > Subcategory Image Width and Subcategory Image Height

Thanks Kobra... Its the one I didn't try, give the name of the option.. :wacko:

17 Feb 2008, 5:22 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page Category Image Size

Its the one I didn't try, give the name of the option..
Is there an additional question in the above?

17 Feb 2008, 7:43 AM
#5
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Main Page Category Image Size

kobra:

Is there an additional question in the above?

No.. Just pointing out that thats the one option I had not tried..:smile:

17 Feb 2008, 8:09 AM
#6
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Main Page Category Image Size

kobra:

Is there an additional question in the above?

Actually I do have another question relatin got the Categories on the Main Page

Can you select which categories get presented onto the Main Page or is it a case of one in all in..?

:unsure:

17 Feb 2008, 8:23 AM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Main Page Category Image Size

Below the Categories - Always Show in Main Page in Configuration > Layout Settings is
Main Page Opens with Category;
set that to the category id you want to open with, or 0 for all categories. (You can't have two categories opening on the home page - it's none, one or all.)

17 Feb 2008, 8:35 AM
#8
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Main Page Category Image Size

gjh42:

Below the Categories - Always Show in Main Page in Configuration > Layout Settings is
Main Page Opens with Category;
set that to the category id you want to open with, or 0 for all categories. (You can't have two categories opening on the home page - it's none, one or all.)

I understand you can have the main page open to a specific category,

But with 'Categories - Always Show on Main Page' , enables all your category icons/images to be displayed on the main page, my question is, does it have to be all categories displayed, or can you limit which ones. Eg, you might have 30 different categories, but just want to show the top 5 or so on the main page.

(Sorry, I probably haven't described this well)

17 Feb 2008, 10:34 AM
#9
gjh42 avatar

gjh42

Black Belt

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

Re: Main Page Category Image Size

As I said, it's none, one or all. You can specify which one, but you can't choose more than one and less than all.

There is a mod by yellow1912 (link in his sig) for "all cats & products on main page" that could be edited to suppress the ones you don't want. I haven't used it so don't know more than that.

For that matter, it should be possible to hard-code a list in perhaps tpl_index_categories.php or tpl_index_default.php and only allow cats on the list to display on the home page.

17 Feb 2008, 10:51 AM
#10
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Main Page Category Image Size

gjh42:

As I said, it's none, one or all. You can specify which one, but you can't choose more than one and less than all.

There is a mod by yellow1912 (link in his sig) for "all cats & products on main page" that could be edited to suppress the ones you don't want. I haven't used it so don't know more than that.

For that matter, it should be possible to hard-code a list in perhaps tpl_index_categories.php or tpl_index_default.php and only allow cats on the list to display on the home page.

Thanks Glen, will have a look at the Mod and see f that will do it..

Cheers,
Mike

24 Feb 2008, 4:00 PM
#11
gunga avatar

gunga

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Re: Main Page Category Image Size

i got to admin> config > but i dont see sub catergory images is it somewhere else?

24 Feb 2008, 4:54 PM
#12
gjh42 avatar

gjh42

Black Belt

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

Re: Main Page Category Image Size

Configuration > Images > Subcat Image...

3 Apr 2009, 11:06 PM
#13
bgallagher avatar

bgallagher

New Zenner

Join Date:
Feb 2008
Posts:
41
Plugin Contributions:
0

Re: Main Page Category Image Size

the truth about the category image size:
there is no way to adjust the category image size for the area where you are listing your categories and using an image above the category name.
the truth is that the zen cart grabs the information regarding those image sizes from the image file its self.
SO.... if you want your categoy image to be 100x100 you must physically create your image with those dimentions.
And even more truth .. that image dimension is the ONLY image dimention that is NOT adjustable via style sheets or from the admin area ... ODDLY ENOUGH .. nice little ZENQIRK eh'.:cool:

4 Apr 2009, 2:19 AM
#14
gjh42 avatar

gjh42

Black Belt

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

Re: Main Page Category Image Size

Sorry, this is incorrect.
Configuration > Images > Subcategory Image Height/Width will control the display height and width of the images in the category listing, although they may not make them display larger than the actual image file pixel sizes. Doing that would degrade the image quality severely, so you wouldn't want that anyway.

28 Jun 2009, 5:45 AM
#15
bgallagher avatar

bgallagher

New Zenner

Join Date:
Feb 2008
Posts:
41
Plugin Contributions:
0

Re: Main Page Category Image Size

I guess its just not been my experience so far......that adjusting the subcategories image size actually displays the Categories images in any other size than what their true dimentions are. I have made the adjustments for the subcategories image size to be 200 in the admin .. and yet the categories images when displayed on the categories index page still display in thier true size.
Why doesnt zen just offer up a .....category image height and with as well as subcategories and categories icon so on and so forth? seems strange.

28 Jun 2009, 6:10 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page Category Image Size

BGallagher:

Why doesnt zen just offer up a .....category image height and with
You, apparently have not looked at admin > config > images > all the settings

Small Image Width  
Small Image Height
Heading Image Width - Admin 
Heading Image Height - Admin
Subcategory Image Width 
Subcategory Image Height 
Calculate Image Size
Image Required 
Image - Shopping Cart Status 	
Image - Shopping Cart Width 	
Image - Shopping Cart Height 	
Category Icon Image Width - Product Info Pages 	
Category Icon Image Height - Product Info Pages 	
Top Subcategory Image Width 	
Top Subcategory Image Height 	
Product Info - Image Width 	
Product Info - Image Height 	 
Product Info - Image Medium Suffix
Product Info - Image Large Suffix 	
Product Info - Number of Additional Images per Row 	
Image - Product Listing Width 
Image - Product Listing Height 	
Image - Product New Listing Width 	
Image - Product New Listing Height 	
Image - New Products Width 	
Image - New Products Height 	
Image - Featured Products Width 	
Image - Featured Products Height 	
Image - Product All Listing Width 	
Image - Product All Listing Height 	
Product Image - No Image Status 
Product Image - No Image picture
Image - Use Proportional Images on Products and Categories
28 Jun 2009, 11:23 PM
#17
petje007 avatar

petje007

New Zenner

Join Date:
Dec 2008
Location:
Amsterdam, The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Main Page Category Image Size

Hello to all,

I have the same problem, i can't change the image size of the categories on the homepage.

When i change the image size in admin/images --> Category Icon Image Width - Product Info Pages

for example to 200 px, the image is still the same, but in the productpage info, THAT image from the category is changed to a bigger image, but not the image from the categories in the home page.

I have spent so many hours to figure it out, but not succesfully.

Cheers :wacko:

29 Jun 2009, 11:57 AM
#18
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Main Page Category Image Size

You have to adjust the two:

Subcategory Image Width
Subcategory Image Height

Not the Category Icon Image, this one is for the icon on top of the product detail page, representing the category you are in.

29 Jun 2009, 10:33 PM
#19
petje007 avatar

petje007

New Zenner

Join Date:
Dec 2008
Location:
Amsterdam, The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Main Page Category Image Size

Thank you mydanilo for your reply.

When I change the image size from the Subcategory Image Width and the Subcategory Image Height, still the images of the Categories on the home page, are the same.

What changed are: the images of the subcategorie on top if you go into the category, so before you enter productlist.
I still don't get it!

Cheers:no:

1 Jul 2009, 12:01 AM
#20
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Main Page Category Image Size

Can you post a screen print of your configuration - images page?

Is Calculate Image Size = true?

strange.....

How big is your original picture and what size do you want it to show? Post a link to you site, I would like to see what it looks like now.