Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2005
    Posts
    110
    Plugin Contributions
    0

    Default Changing height of image on product listing

    We are trying to change the height of the area the images take up on the product listing page without stretching the images themselves ( ie turning off proportional images ) and we dont want to resize the images as they have over 500 images on the site.

    If you look at http://82.110.105.87/aswatersports.c...ex&cPath=14_18 and check out the products you will see the images are less in height than they should be and the text underneath is going into this white box which should be in the blue area

    How can we set a height for the location the image is placed in so the images sit in the area and the text is in the correct area underneath. I know how do do in a html site with tables etc but not on zencart without without spoiling the image ( stretching & turn off proportional )

  2. #2
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Changing height of image on product listing

    You can set the size of your images from your admin configuration images.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #3
    Join Date
    Jun 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Changing height of image on product listing

    I have set the size but some images are smaller in height when taking into account the width, so they proportionally take up less height and this causes the spacing problem.

    What i want is to have a set size for the images ( which I have done ) and any that take up less height are centred in the white box and I code in a way to set the height the image area takes up so the text underneath doesnt go into the white box

  4. #4
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Changing height of image on product listing

    If you haven't already, you may want to look at this thread.
    http://www.zen-cart.com/forum/showth...t=picture+size
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  5. #5
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Changing height of image on product listing

    My question to you is. Why do you have different picture size?
    If you want to look professional you must consider using one picture size. You will be able to have a the same look and picture size through out the site ( in thumbnail, and large pictures).

    I would suggest that you edit the images and crop the picture to one size throughout the site. Then you can set the image height in the zen cart and it would look much better and professional

    This is just what I had to go through building my site.

    Good luck.

  6. #6
    Join Date
    Jun 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Changing height of image on product listing

    The reason we have different image sizes is we are upgrading there old site and they created all the images in different sizes. We have told them to recreate images for all new products and fit to a set size. However they didnt keep the originl photos so all we have are the files they created which are too small

    So im just trying to solve the problem in code for now and then they can recreate images as they go along

  7. #7
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Changing height of image on product listing

    I see. Sorry I can't help you with the code, Iam not an expert in that area.

 

 

Similar Threads

  1. v150 Product Listing Row height how to adjust?
    By oj226 in forum General Questions
    Replies: 2
    Last Post: 5 May 2012, 12:29 AM
  2. shrink row height in product listing
    By joshuabaer23 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Sep 2010, 03:43 AM
  3. Image height and width in the products listing page
    By suryapavan in forum General Questions
    Replies: 3
    Last Post: 18 Apr 2010, 03:27 PM
  4. Replies: 0
    Last Post: 22 Feb 2010, 04:27 PM
  5. Product Listing - Image width & height issue
    By KismetDesign in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Sep 2009, 09:52 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