Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Small product image is showing way too big

    Some info on what I'm doing, I'm working on customizing a new zen cart install using my old store front's database. I looked at the product pages and have found a problem with the test site that the old site doesn't have. I don't know if it's a setting or something I've changed in an over ride folder or on the stylesheet on my old site. I'm trying not to use my old files because I want a fresh look and am starting over.

    The small product images in my bookmarks category look huge and I don't know why. The image sizes are 22x80. I have the small image size in the admin set to 80. All of the other products have normal looking images using the actual image size. When I look at the source code of the image between the bookmark page and another product page they look the same.

    Here are a couple of links to show the problem

    https://aosnew.artofstitching.com/in...Path=253_45_49
    https://aosnew.artofstitching.com/in...th=253_192_213


    Please don't judge the overall look. I haven't even started on customizing the template yet! hahaha

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,194
    Plugin Contributions
    63

    Default Re: Small product image is showing way too big

    I believe you need to adjust

    Configuration >> Images > Image - Product Listing Width
    Configuration >> Images > Image - Product Listing Height
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Small product image is showing way too big

    Ok. I've narrowed it down some. I'm now using zc version 2.0 using the bootstrap template. I used to use a different template. The other two templates, classic and responsive, allow the image to be shown at it's actual size. Bootstrap is forcing it to show at 100 width not 20, which causes the image to be much bigger. The medium and large sizes work fine.

    I tested it by modifying one of the small product images to have a canvas size of 100 width and it now looks like it should, just with a wide white background. I can live with that, if that's the only way I can fix it but that means modifying a LOT of images for the products that I have.

    Any suggestions on a way to fix the template files?

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,194
    Plugin Contributions
    63

    Default Re: Small product image is showing way too big

    Quote Originally Posted by KarenLR View Post
    Ok. I've narrowed it down some. I'm now using zc version 2.0 using the bootstrap template. I used to use a different template. The other two templates, classic and responsive, allow the image to be shown at it's actual size. Bootstrap is forcing it to show at 100 width not 20, which causes the image to be much bigger. The medium and large sizes work fine.

    I tested it by modifying one of the small product images to have a canvas size of 100 width and it now looks like it should, just with a wide white background. I can live with that, if that's the only way I can fix it but that means modifying a LOT of images for the products that I have.

    Any suggestions on a way to fix the template files?
    Image Handler may help
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Small product image is showing way too big

    Changing the image size with Image Handler won't work in this case. I can't change the original image size to 100 width. I have to alter the image itself so the image looks the same but the canvas size for that image is 100. It will have a white background on the sides.

    I was hoping some coding in the template somewhere might take care of it since it works in the responsive template just fine. But, I have no idea where to start looking. I'll just put it on the back burner for now since I have so much else to customize.

    Thank you for trying to help!

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,364
    Plugin Contributions
    94

    Default Re: Small product image is showing way too big

    Quote Originally Posted by KarenLR View Post
    Changing the image size with Image Handler won't work in this case. I can't change the original image size to 100 width. I have to alter the image itself so the image looks the same but the canvas size for that image is 100. It will have a white background on the sides.

    I was hoping some coding in the template somewhere might take care of it since it works in the responsive template just fine. But, I have no idea where to start looking. I'll just put it on the back burner for now since I have so much else to customize.

    Thank you for trying to help!
    Actually, Image Handler supports a "fit-to-dimension" setting for the various image width/height. See this GitHub article for additional information: https://github.com/lat9/zen_Image-Ha..._dimensions.md

 

 

Similar Threads

  1. v151 Product Image Size Issues - Too Small!
    By yeah! in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 4 Jan 2013, 02:34 AM
  2. Image pics too small
    By david52 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Jul 2010, 04:32 AM
  3. Making sizes return error if too big/small
    By Philman in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Feb 2010, 02:24 PM
  4. Database getting way too big!
    By magicpants in forum General Questions
    Replies: 3
    Last Post: 1 Jul 2008, 02:04 PM
  5. Font size is WAY too big when adding item to cart
    By wetjet in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Apr 2007, 10:42 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