Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2010
    Posts
    21
    Plugin Contributions
    0

    Default use cart image sizes instead of small image sizes

    The reason I am asking this is kind of complex and confusing, so I hope I can just ask for the solution and not try to explain WHY I want to do this, LOL -- if I must, I can try, but this is the solution that I have figured out, but I need some info to implement.

    in the admin->config->images there are settings for
    small image width/height
    and
    shopping cart image width/height

    I have found in my code places where it is pulling the width/height values for the small image width/height - the code it is using to pull those values is this:

    SMALL_IMAGE_WIDTH
    SMALL_IMAGE_HEIGHT

    I would like to replace this with whatever snippet I need to pull the shopping cart image width/height instead.

    What syntax would I use to do this?

    amy

  2. #2
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: use cart image sizes instead of small image sizes

    There is also:

    Image - Product Listing Width
    Image - Product Listing Height
    Image - Product New Listing Width
    Image - Product New Listing Height
    Image - New Products Width
    Image - New Products Height
    Image - Featured Products Width
    Image - Featured Products Height
    Image - Product All Listing Width
    Image - Product All Listing Height

    Depending on where you need the image the same size as the cart image, it might be better to adjust one of those values....if that will work for you :)
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

 

 

Similar Threads

  1. Question about the differnet image sizes in filenames SMALL MED etc
    By creamcrackers in forum General Questions
    Replies: 10
    Last Post: 16 Jul 2012, 03:22 PM
  2. Use Medium size image instead of small
    By disciple in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Jun 2011, 12:41 AM
  3. image sizes
    By david52 in forum General Questions
    Replies: 2
    Last Post: 11 Jul 2010, 11: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