Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default 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?ma...store&cPath=94

    manufacturer

    http://cmjcarcare.co.uk/index.php?ma...acturers_id=17

    Thanks in advance
    Dean

  2. #2
    Join Date
    Aug 2005
    Posts
    13
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default Re: Manufacturers Product image size

    Quote Originally Posted by harlock View Post
    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

  4. #4
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default 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&amp;cPath=98&amp;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,

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default 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.

  6. #6
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default 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,

  7. #7
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default Re: Manufacturers Product image size

    Does anyone have any suggestions

    thanks,

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Manufacturers Product image size

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

  9. #9
    Join Date
    Dec 2014
    Posts
    6
    Plugin Contributions
    0

    Default Re: Manufacturers Product image size

    Quote Originally Posted by stevesh View Post
    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

 

 

Similar Threads

  1. How to add manufacturers url to the manufacturers image
    By suedouglas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jan 2016, 04:19 PM
  2. Displaying manufacturers image on product page
    By RobM in forum Templates, Stylesheets, Page Layout
    Replies: 40
    Last Post: 26 Sep 2013, 05:09 PM
  3. Changing Manufacturer's Image Size in 'Manufacturers Info' Side Box
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Feb 2011, 08:29 AM
  4. product image size - how do you display the original size?
    By abcdabcd in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Aug 2007, 04:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR