Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Struggling with Image Resizing

Struggling with Image Resizing

Locked

Views: 1,107

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Jul 2006, 4:32 AM
#1
neontetra avatar

neontetra

New Zenner

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

Struggling with Image Resizing

Hi

I am having trouble getting my images to display properly.

I have optimized 3 sets of images.

Example:

  1. product.jpg (87x120) c4KB
  2. product_MED.jpg (181x221) c8KB
  3. product_LRG.jpg (450x549) c28KB

Am I right in thinking that (in Admin-Images) that;

  1. product.jpg (87x120) can be adjusted in 'small image width and height'
  2. product_MED.jpg (181x221) can be adjusted in 'subcategory image width and height'
  3. product_LRG.jpg (450x549) can be adjusted in 'product info width and height'

It seems that, whenever I adjust any sizes in admin, they do not alter my images at all.

Please help. Yours in desperation...:dontgetit

7 Jul 2006, 8:35 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Struggling with Image Resizing

First can you post a url especially if this does not help as seeing wht the problem is many times more beneficial than the description.

If I am understanding this correctly you are only seeing one image size.

If this is correct. check the location of each image size and if you have not changed the default it should be as follows:

normal(small) image in /images
medium images are in /images/medium
large images reside in /images/large

Another check is that the suffix is correct as you have posted _MED and _LRG.

These are case sensitive so if you have named them _med they will not be located.

If this is not your problem post back

7 Jul 2006, 8:51 AM
#3
neontetra avatar

neontetra

New Zenner

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

Re: Struggling with Image Resizing

Thanks Kobra, check this page out.

http://www.morlandsglastonbury.com/shop/index.php?main_page=index&cPath=1

These images are in the right place (ie in the med. directory) but appear in the wrong size. I've actually just noticed the source though - why is the width 33%? I guess this will be the answer to my problems site-wide.

<div class="categoryListBoxContents" style="width:33%;"><a href="http://www.morlandsglastonbury.com/shop/index.php?main_page=index&cPath=1_21"><img src="images/medium/02AMensBrnCrom_med.jpg" alt="Cromarty" title=" Cromarty " width="46.683257918552" height="57" /><br />Cromarty</a></div> <div class="categoryListBoxContents" style="width:33%;"><a href="http://www.morlandsglastonbury.com/shop/index.php?main_page=index&cPath=1_22"><img src="images/medium/07AMensBrnDun_med.jpg" alt="Dunbar" title=" Dunbar " width="46.472972972973" height="57" /><br />Dunbar</a></div> <div class="categoryListBoxContents" style="width:33%;"><a href="http://www.morlandsglastonbury.com/shop/index.php?main_page=index&cPath=1_23"><img src="images/medium/04AMensBrnLau_med.jpg" alt="Lauder" title=" Lauder " width="46.058035714286" height="57" /><br />Lauder</a></div> <br class="clearBoth" />
7 Jul 2006, 11:29 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Struggling with Image Resizing

I am not a coder but I do not think that this need to be altered as I have never done this and my images display correctly.

I believe that this refers to the % of the center column that this field can use.

Just looked at your site and they seem to be rendering correctly tell me what I am missing.

Checked a couple of the dunbar and med are all showing up. Some large are not