Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Why are my Images displayed in different sizes?

Why are my Images displayed in different sizes?

Locked

Views: 1,504

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 Oct 2009, 12:42 AM
#1
twinkie avatar

twinkie

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

Why are my Images displayed in different sizes?

I've looked everywhere but can't figure out why my images are shown in slightly different sizes.Can anyone help? (I'm using a custom template)
Here's my site--
http://muyinjewelry.com/index.php?main_page=index&cPath=5

11 Oct 2009, 3:40 AM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

Your style sheet contains this error on line 811:

.centerBoxContentsNew1 { margin: 12px 0 15px; 0; }

and on line 1287:

.new_products { float: left; width: 32.5%; text-align: center; padding: 3px 1px;

the ending/closing } is missing

Tina

11 Oct 2009, 3:17 PM
#3
twinkie avatar

twinkie

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

Thanks Tina!
I added the } code at the end, but I'm not sure what you mean by the mistake in 15px ?

11 Oct 2009, 3:28 PM
#4
twinkie avatar

twinkie

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

ok, I think you mean to remove the ";" in "15px; 0"..I did that and the width in "all products" and New Products" are now the same, but that doesn't happen to my other category searches
http://muyinjewelry.com/index.php?main_page=index&cPath=16

Also, the height of the images are still different. :(

11 Oct 2009, 3:39 PM
#5
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

You may want to contact the template author and ask for a fix for this problem.

Tina

11 Oct 2009, 3:42 PM
#6
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

The images you are using are different sizes and are technically displaying correctly -

11 Oct 2009, 6:03 PM
#7
twinkie avatar

twinkie

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

So..we're supposed to resize images manually before loading them to ensure the size display will be the same?

11 Oct 2009, 7:17 PM
#8
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: Why are my Images displayed in different sizes?

Well ... if you want them all exactly the same size, without any distortion, then they all have to be the same dimensions to begin with.