Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Additional Image Icon Position

    Can somebody tell me what code to use or where to find the code to adjust the spacing of the additional image icons.

    At present, if you have two, they are widely spaced, if you have three or more, the spacing changes. I just want to fix this positioning so the spacing doesnt change (basically, I have moved the add images icons up next to the main product image, and want everything to line up and be uniform no matter how many add images I have rather than them being oddly spaced if I only have two for instance)

    Can anyone help?

  2. #2
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Additional Image Icon Position

    Done it

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Additional Image Icon Position

    Quote Originally Posted by dgent View Post
    Done it
    HELP OTHERS...why not post how you "DONE IT"

  4. #4
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Additional Image Icon Position

    Go to modules, and find additional_images.php

    Then at the bottom..

    // List Box array generation:
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width: 80px;"' . $col_width . '10%;"',
    'text' => "\n " . $link);
    $col ++;
    if ($col > (IMAGES_AUTO_ADDED -1)) {
    $col = 0;
    $row ++;
    }
    } // end for loop
    } // endif


    ?>

    Play around the pixel widths or percentage variables depending on your thumbnail sizes.

  5. #5
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Additional Image Icon Position

    Also you play around with these:

    #productAdditionalImages {
    padding: 0px;
    margin-top: -0.2em;
    float: left;
    margin-right: 0em;
    height: 200px;
    width: 247px;
    }

    #productAdditionalImages img {
    float: left;
    padding: 0px;
    margin-top: -1em;
    margin-left: -0.5em;
    min-width: 40%;
    min-height: 40%;
    border: 0px solid #ff0000;
    }

 

 

Similar Threads

  1. How to control position of additional image on the page?
    By idtags in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2011, 11:42 PM
  2. Category Icon Image position edit
    By actionx in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Apr 2011, 08:19 AM
  3. Position of Additional Images
    By pdaparts in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Apr 2008, 04:39 PM
  4. Change position of additional image.
    By da_bsg in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jan 2007, 04:46 AM
  5. first additional image position and popup
    By hamelin85 in forum Basic Configuration
    Replies: 1
    Last Post: 29 Jul 2006, 11:49 PM

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