Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    red flag Image Handler 2: autosize generated image issues

    Hi all,

    How to set IH2 so that the sizes of auto-generated images match those in Admin/Configuration/Images, rather than maintan its proportion?

    When IH2 auto-sizes images, the size of images generated do NOT match those specified in Admin/Configuration/Images. Whereas, the size of those images maintain its proportion. For example:

    Below are settings in Admin/Configuration/Images:

    Small Image Width 100
    Small Image Height 80
    Product Info - Image Width 240
    Product Info - Image Height 241
    IH large image maximum width 550
    IH large image maximum height 450

    Below are the sizes of auto-sized images when an image of 640x480 is supplied:

    100x75
    240x180
    640x480

    Thank you for your help in advance.

    Steve





    System:
    * Image Handler 2 for v1.3.x (ver 2.0 rev 7)
    * Zen Cart 1.3.8a.

  2. #2
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Image Handler 2: autosize generated image issues

    I think it is possible to specify the width and height in IH2 php code. Does anyone know which php file to edit?

    Thank you!

    Steve

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Image Handler 2: autosize generated image issues

    I don't use IH2 so have no answer there... but do you really want the thumbnails to be distorted instead of keeping their proportions? Why?

    There is an admin setting Configuration > Images > Image - Use Proportional Images on Products and Categories. Does that affect the display in IH2?

  4. #4
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Image Handler 2: autosize generated image issues

    Quote Originally Posted by gjh42 View Post
    I don't use IH2 so have no answer there... but do you really want the thumbnails to be distorted instead of keeping their proportions? Why?

    There is an admin setting Configuration > Images > Image - Use Proportional Images on Products and Categories. Does that affect the display in IH2?
    Dear gjh42,

    Thank you for your help.

    I tried that it not only does NOT work, but the zoom small images function also lost, which should not happen. When I changed it back, the function turned back. Still, the issue remains.

    The reason is that, I want all small image the same size regardless the size of the large image. Now, the height of small images depends on the height of the large image.

    Thank you again.

    Steve

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Image Handler 2: autosize generated image issues

    If you want all small images the same width AND height, you must make all large images the same proportions (not necessarily the same size), or else have some of the small images distorted.

    If height is your real concern, try specifying just that in your small image settings, leaving width as blank. In stock ZC, this will allow the width to float so the images stay in proportion and at the same height. I don't know how IH2 will handle this, though.

  6. #6
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Image Handler 2: autosize generated image issues

    Quote Originally Posted by gjh42 View Post
    If you want all small images the same width AND height, you must make all large images the same proportions (not necessarily the same size), or else have some of the small images distorted.

    If height is your real concern, try specifying just that in your small image settings, leaving width as blank. In stock ZC, this will allow the width to float so the images stay in proportion and at the same height. I don't know how IH2 will handle this, though.
    Dear jh42,

    Thank you for your advice.

    Both width and height of small images are required. The last option is that I prepare s/m/l size for every image using other image programme. However, I still prefer to coding it if I knew how.

    Steve

 

 

Similar Threads

  1. Image Handler 2 issues
    By amebb in forum General Questions
    Replies: 3
    Last Post: 22 Sep 2011, 11:45 AM
  2. Image handler issues
    By sim8729 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 28 Jul 2011, 11:49 AM
  3. Image Handler issues
    By AHeartForTheEarth in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 Oct 2009, 07:50 PM
  4. Issues w/ Image Handler
    By AHeartForTheEarth in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Oct 2009, 08:06 PM
  5. Issues with Image Handler 2
    By utahlauren in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 Jun 2009, 07:48 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