Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Change Additional image size to same as Main

    I searched, couldn't find the answer, what setting in what file must be changed so the additional images are the same size as the main image size, instead of the "small image" size?

  2. #2
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    Nevermind I figured it out its in additional images in common, change it to MEDIUM instead of SMALL

  3. #3
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    I am trying to change the size of the additional images. I can't find the "common" file that the previous person posted where she found the problem. Can someone please help? Many thanks!

  4. #4
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    admin > configuration > images

    set height and width

  5. #5
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    Thank you very much for the response and yes, I do see that but..... which one of the items listed there changes the size for the additional images in admin>images? All I see for additional images there is about the rows.

  6. #6
    Join Date
    Sep 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    did anyone ever figure this out?! none of the images that can be changed in configuration→images seem to refer to the additonal images that appear on the product info pages. thanks for any support!

  7. #7
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Change Additional image size to same as Main

    It can be a bit confusing, becuase it's not clearly named "Additional Image Size".

    It's actually controlled by the first item in the list: "Small Image"

    The reason is becuase the additional images are part of the "small image" category, and are styled along with all the other small images.

  8. #8
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Change Additional image size to same as Main

    I changed the additional images sizes by editing this file:

    includes\modules\additional_images.php

    On these lines (89, 90 or maybe 88, 89):
    $thumb_slashes = zen_image($base_image, addslashes($products_name), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);

    You can change it to:
    $thumb_slashes = zen_image($base_image, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);
    $thumb_regular = zen_image($base_image, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);

    OR a specific width and height:
    $thumb_slashes = zen_image($base_image, addslashes($products_name), 225, 300);
    $thumb_regular = zen_image($base_image, $products_name, 225, 300);

    If you have a template set up then make a template folder to save your changed file into: includes\modules\you_template\additional_images.php

    Hope that helps!

 

 

Similar Threads

  1. v139h If I change main product image, additional images disappear...
    By ilmarchez in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Jan 2015, 03:35 PM
  2. v151 Main and Additional Image Popups wrong size image
    By k1ra in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Apr 2014, 01:54 PM
  3. additional image must be same extension
    By finlander in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Dec 2010, 09:32 PM
  4. want additional images bigger without having to change 'small' image size in admin
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Aug 2010, 01:04 AM

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