Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Subcategory image sizes are different

Subcategory image sizes are different

Locked

Views: 1,288

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
16 Mar 2008, 6:16 PM
#1
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Subcategory image sizes are different

I don't get this. Here http://gardenserre.fr/index.php?main_page=index&cPath=1_4, the subcategory images are nicely aligned and of the right width whereas here http://gardenserre.fr/index.php?main_page=index&cPath=1_9 they are a mess, the wrong widths and with horrible alignment. What's gone wrong ? The images were uploaded in the same way and all have the same original width. Wierd.

Help would be appreciated.

Cheers

Pete

16 Mar 2008, 6:55 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategory image sizes are different

If you specify the width and height of (in this case) product listing images in admin > Configuration > Images, all images will be reduced if necessary to fit in both of those dimensions. To let the height vary, specify the height as blank and the original size will be used as long as its width fits in the specified width.

16 Mar 2008, 7:24 PM
#3
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Subcategory image sizes are different

Thanks. I've been playing around with the "Image - Product Listing Width" values in Admin/Config. If I specify the width as 120px with no value for the height, I get a reasonable display. However, whereas in http://gardenserre.fr/index.php?main...ndex&cPath=1_4 the images are nicely spaced, in http://gardenserre.fr/index.php?main...ndex&cPath=1_9, they almost overlap each other and the top image actually touches the lower edge of the container box. Is this because there's perhaps too much difference between the widths of the various images ?

Cheers

Pete

16 Mar 2008, 7:31 PM
#4
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Subcategory image sizes are different

Also, on http://gardenserre.fr/index.php?main...ndex&cPath=1_9, why do you think the last two products have no summary ? Its blank in both cases whereas the products have a description just like the others !

16 Mar 2008, 7:42 PM
#5
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Subcategory image sizes are different

I've figured the summary problem (silly code error) but the rest escapes me. Time to move on I suppose.

17 Mar 2008, 6:48 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategory image sizes are different

You have no spacing between elements.
Add to your stylesheet:

.productListing-data {padding: 0.8em 0.2em 0;}

Adjust to taste.