Forums / General Questions / Manufacturers Product image size

Manufacturers Product image size

Views: 1,375

Results 1 to 9 of 9
15 Dec 2014, 5:59 PM
#1
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Manufacturers Product image size

Hello,

I am helping setup a zen cart store for some friends and I am experiencing a issue with the product image sizes on Manufacturers pages. everything in categories is fine

site is www.cmjcarcare.co.uk

images are set to the following

Title Value Action
Small Image Width 100
Small Image Height 160
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 240
Subcategory Image Height 340
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 240
Category Icon Image Height - Product Info Pages 340
Top Subcategory Image Width 240
Top Subcategory Image Height 340
Product Info - Image Width 480
Product Info - Image Height 600
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 3
Image - Product Listing Width 240
Image - Product Listing Height 340
Image - Product New Listing Width 240
Image - Product New Listing Height 340
Image - New Products Width 240
Image - New Products Height 340
Image - Featured Products Width 240
Image - Featured Products Height 340
Image - Product All Listing Width 240
Image - Product All Listing Height 340
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif Info
Image - Use Proportional Images on Products and Categories 1
Manufacturer Sidebox Image Width 240
Manufacturer Sidebox Image Height 340

here is a example the product displays fine in the category but under its manufacturer it is squashed

Product "Autobrite Just The Tonic 500ml..."

category
http://cmjcarcare.co.uk/index.php?main_page=index&pg=store&cPath=94

manufacturer

http://cmjcarcare.co.uk/index.php?main_page=index&manufacturers_id=17

Thanks in advance
Dean

17 Dec 2014, 4:56 PM
#2
harlock avatar

harlock

New Zenner

Join Date:
Aug 2005
Posts:
13
Plugin Contributions:
0

Re: Manufacturers Product image size

This site use a customized template and I think is better and easier for you ask directly to the theme developers.
Anyway I think in your template code the image dimensions are hard-coded to 240px for 240px.
You can try to remove in Admin/images one of image width or height and since Calculate Image Size is true the corresponding alternate value will fit.

17 Dec 2014, 5:45 PM
#3
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Re: Manufacturers Product image size

harlock:

This site use a customized template and I think is better and easier for you ask directly to the theme developers.
Anyway I think in your template code the image dimensions are hard-coded to 240px for 240px.
You can try to remove in Admin/images one of image width or height and since Calculate Image Size is true the corresponding alternate value will fit.

I have just tested changing the image size in Admin images and that adjusted images fine

The only issue I have is there is no option for manufacturers image size in admin/images

Thanks for the help so far

20 Dec 2014, 4:55 PM
#4
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Re: Manufacturers Product image size

Any idea where i would find the following information? to be able to edit

<td class="productListing-data" align="center"><div class="product_image"><a href="http://cmjcarcare.co.uk/index.php?main_page=product_info&cPath=98&products_id=286"><img src="images/addiction_paste_wax.jpg" alt="Autobrite Addiction Wax 200g" title=" Autobrite Addiction Wax 200g " width="240" height="240" class="listingProductImage" /></a></div></td>

I need to amend the image height and width but not sure where the file is located

thanks,

20 Dec 2014, 5:30 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Manufacturers Product image size

That's the HTML output by the PHP in includes/modules/product_listing.php on line 162 in the standard Zencart template. It may be different in your template, and it probably isn't what you want to change, anyway. I'd guess your template is setting that image size. Switching temporarily back to the Classic template should confirm that. Then use the Admin - Tools - Developers Tool Kit to search for IMAGE_PRODUCT_LISTING_WIDTH to find the file that's setting the dimensions.

24 Dec 2014, 10:03 AM
#6
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Re: Manufacturers Product image size

I have did a little bit more testing and discovered the products on the manufacturers pages are getting there height and width from the following option

Image - Product Listing Width

If I change Image - Product Listing Height it does not make any difference to the image.

Hopefully hear back from someone after Christmas

Thanks,

5 Jan 2015, 9:58 AM
#7
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Re: Manufacturers Product image size

Does anyone have any suggestions

thanks,

5 Jan 2015, 12:17 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Manufacturers Product image size

Did you try switching back to the Classic template? That might help narrow the possible causes.

5 Jan 2015, 12:46 PM
#9
dak_ts avatar

dak_ts

New Zenner

Join Date:
Dec 2014
Posts:
6
Plugin Contributions:
0

Re: Manufacturers Product image size

stevesh:

Did you try switching back to the Classic template? That might help narrow the possible causes.

I have tested in the classic template and this is working fine

Its down to something in this template but it's got me puzzled