Results 1 to 10 of 18

Hybrid View

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

    Default Re: Additional Product Images - Layout Question

    No problem, there were no ad-ons installed for this (except the lightbox), you can manipulate the code and add a div or two. I'll post back in a little while.

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

    Default Re: Additional Product Images - Layout Question

    Sent you a PM with what you need to do. If you want further or detailed help then post up and i'll copy and paste what you should have in your tpl_product_info_display.php file.

  3. #3
    Join Date
    Oct 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Additional Product Images - Layout Question

    Quote Originally Posted by first trading View Post
    Sent you a PM with what you need to do. If you want further or detailed help then post up and i'll copy and paste what you should have in your tpl_product_info_display.php file.
    Hi first trading,

    I Would love to have the thumbnail size below the the main image, this is a much better look I think. Please could you PM me as well or post the code.

    Thanks in advance :)

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

    Default Re: Additional Product Images - Layout Question

    Quote Originally Posted by SammyD View Post
    Hi first trading,

    I Would love to have the thumbnail size below the the main image, this is a much better look I think. Please could you PM me as well or post the code.

    Thanks in advance :)
    Hi, i've sent you a PM with how to do this.

    If you need any further help then simply ask. Anyone else who wanted to do this................

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

    Default Re: Additional Product Images - Layout Question

    In your tpl_product_info_display.php, you need to add a div. But first move the block of code for the additional images to just under the main product image, like this.

    <div id="newdiv">

    <div id="mymainproductimage">
    <!--bof Main Product Image -->
    <?php
    if (zen_not_null($products_image)) {
    ?>
    <?php
    /**
    * display the main product image
    */
    require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    <?php
    }
    ?>
    <!--eof Main Product Image-->
    </div>

    <div id="additionalimages">
    <!--bof Additional Product Images -->
    <?php
    /**
    * display the products additional images
    */
    require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->
    </div>

    In this example you have a new div above the main product image and its closed after the additional product images. You need to add these in.

    This new div can now be styled in your stylsheet, i.e.

    #newdiv {
    YOUR_STYLING
    }

    In addition i also have seperate div's for the main image and additional images, if you don't want those then simply delete the relevant code.

  6. #6
    Join Date
    Oct 2010
    Posts
    121
    Plugin Contributions
    0

    Default Re: Additional Product Images - Layout Question

    Hi, I was just wondering, how can I style this in my stylesheet? Also, for the "YOUR_STYLING" does that mean I have to change the div id? or could I name that anything?

    Thank you!

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

    Default Re: Additional Product Images - Layout Question

    Where i put:

    YOUR_STYLING

    What i mean is, replace that with the lines of styling code. For example:

    #newdiv {
    border:1px solid #ff0000;
    padding:5px;
    }

    The above is how you would style it in the stylesheet.

 

 

Similar Threads

  1. Layout of Additional of Additional Product Images - Possible Bug?
    By RatMonkey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2011, 02:21 PM
  2. layout of additional images on product info page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 1 Nov 2010, 06:17 PM
  3. product info additional images layout
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Nov 2010, 03:45 PM
  4. Additional Product Images Layout , Specifically Width?
    By wussyib in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Dec 2009, 07:10 PM
  5. Additional Images Layout Question
    By paperzombie in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Jul 2007, 01:34 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