Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Calculate Image Size Not Working

    Hi folks,

    I hope you can help me. I'm getting mighty frustrated here. I can not make my thumbnail images appear in a size that is proportional to their true size. I followed the directions at https://www.zen-cart.com/tutorials/i...hp?article=224...

    Code:
      You can set the sizes for the small and medium (I’ll cover “large” later) by going to admin>configuration>images. If you want all your images to be the same width but the heights may vary, then set the Width to the figure you require and the height to 0 and make sure Calculate Image Size is turned on. Conversely, if you want all the images to be the same height, then set the Width to 0 and the height to the figure you require.
    However, when I set the width or height to "0" it is that, literally, and image appears as a squished link only with a height of 0. Yes - I've turned on Calculate Image. And yes, I've turned on Use Proportional Images on Products and Categories. This doesn't help. The only way the thumbnails on my All Products List appear is if I set a width and height in Admin > Config > Images. But this distorts the true proportions of the photos

    Ideally, I want my image to be 100px wide and a proportional height. (All my orig images are different sized).

    Please help!

    Many thanks,
    Alison

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Calculate Image Size Not Working

    Leave the height "BLANK" no entry
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Calculate Image Size Not Working

    Ha! Such a simple solution to my "problem". I feel silly for not seeing that!

    Many thanks for your help.

    a.

  4. #4
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Calculate Image Size Not Working

    Hello,

    Me again. The problem is back and I after many hours of trying to figure it out (hoping it wasn't a silly detail that I was overlooking), I am turning back to the forums.

    My images *were* rendering in the sizes that I set in Admin > Config > Images. Now they are not showing at all on my site. I am not sure what happened.

    My settings are as follows:

    Code:
    itle                 Value                 Action                                                   
    Small Image Width                 100                                                              Small Image Height 
    Heading Image Width - Admin                 57 
    Heading Image Height - Admin                 40 
    Subcategory Image Width                 100 
    Subcategory Image Height
    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                 57
    Category Icon Image Height - Product Info Pages                 40
    Top Subcategory Image Width                 150
    Top Subcategory Image Height                 85
    Product Info - Image Width                 350
    Product Info - Image Height
    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                 100                                            
    Image - Product Listing Height
    Image - Product New Listing Width                 100
    Image - Product New Listing Height                 
    Image - New Products Width                 100                                              Image - New Products Height 
    Image - Featured Products Width                 100 
    Image - Featured Products Height 
    Image - Product All Listing Width                 100
    Image - Product All Listing Height                 80 
    Product Image - No Image Status                 1  
    Product Image - No Image picture                 no_picture.gif   
    Image - Use Proportional Images on Products and Categories                 1
    Yet, all of the code for images on my site looks like this, which displays an image that is zero pixels high:

    Code:
    <img src ...  width="100" height="0" />
    Here is something that may help uncover the issue: Even when I change the height to a number, like 80 pixels, as I did with the Product All Listing Height, it STILL doesn't work on my site.

    Errrgh----please help, if you can!

    Here is the site, if it's helpful: http://www.nydof.com/catalog/

    THANK YOU!

    Alison

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Calculate Image Size Not Working

    having your site locked down does not assist in us looking at the issue
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Calculate Image Size Not Working

    Yes - very true. An oversight on my part! Apologies...

    Here is the info to view:
    login: jeff
    pword: 12345

    Thanks for taking the time.

    - Alison

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Calculate Image Size Not Working

    Not sure what you have done to get this but your images are listed but not rendering as you know
    Where they are listed as being for the bookcase and then file are:
    Code:
    http://www.nydof.com/catalog/images/products/maplewood.jpg
    http://www.nydof.com/catalog/images/medium/meridian.jpg
    Different locations??

    Try getting back to basics and set these to be just in /images (main) when you enter/re-enter these 2 in the product entry screen and see if this corrects this.

    You need to re-upload these through the product entry screen from your local
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Calculate Image Size Not Working

    Thanks for the suggestion. I moved the photos back into the main images directory and they still don't show up. (And the images were just in those other directories because I was trying to see if that worked.)*

    The thing is: the images are there. It's just that the sizes that are written into the HTML <img src> tag are width="100" and height="0" so the image displays with no height. But I do not have any height specified in Admin>Config>Images so I don't know why this is happening. Whatever sizes I have specified in the Admin are not making it to the HTML of my pages. Does this make sense?

    I appreciate your help. Keep it coming!

    - Alison

    * Oddly enough, even though the product page in admin states that the photo for the Herman Miller Files are in the main directory, the page still outputs the old location: http://www.nydof.com/catalog/images/medium/meridian.jpg

  9. #9
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Calculate Image Size Not Working

    And, one more thing, I just noticed:

    In Admin>Config>Images, if I change the size of the width of an image, this change is reflect on the site in the width tag of the <img src>. However, any number that I put in for the height does not show. The images site-wide (on product page and in lists and boxes) still have height="0". This happens if I leave the height field blank or if I put in 20.

    HTH solve the problem. Seven hours on the case and I still can't fix it!

    Anyone?

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Calculate Image Size Not Working

    Whos template are you using??

    Switch to the classic template and see if this is different to attempt to isolate the issue
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 USPS by marco module - calculate rates by weight and box size?
    By bpoilspill in forum Addon Shipping Modules
    Replies: 1
    Last Post: 10 Jul 2012, 08:44 PM
  2. Image Size Calculate
    By metalball in forum General Questions
    Replies: 2
    Last Post: 28 Jul 2009, 04:43 AM
  3. calculate price on size
    By JasonRocket in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Oct 2008, 10:45 PM
  4. Calculate USPS fees by zone and box size
    By FramedButterflyArt in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 21 Sep 2008, 11:38 PM
  5. Calculate Image Size not working
    By BigFanny in forum Basic Configuration
    Replies: 2
    Last Post: 29 Nov 2007, 06:36 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