Page 1 of 2 12 LastLast
Results 1 to 10 of 46

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    Hi, would I be right in saying that your site is a template monster template?

    Their templates do appear to have a few issues, of which this may be one.

    Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

    PHP Code:
    <!--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 -->

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to put more than one photo on a product

    Good call! I bet it is something TM has messed up.

  3. #3
    Join Date
    Oct 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    Quote Originally Posted by RuFuS View Post
    Hi, would I be right in saying that your site is a template monster template?

    Their templates do appear to have a few issues, of which this may be one.

    Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

    PHP Code:
    <!--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 -->

    OK, I was reading and i got my page to show multiple images. But now the base image is on the left and the additional image is in the center. How do i get that additional image out of the center and next to the base image on the left? I check some of the codes on other pages but I dont see anything that would center that image. please help. thx

  4. #4
    Join Date
    Oct 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    Ill put a link up to see what its showing. For some reason the pictures are scattered all over and not in like a good single location.

    http://www.theoxicore.com/index.php?...&products_id=3

  5. #5
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    You just need to use css to style them the way you want to.

    For example, if you wanted to move them under the main image you could do something like:

    PHP Code:
    #productAdditionalImages {
    clear:both;


  6. #6
    Join Date
    Oct 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    Quote Originally Posted by RuFuS View Post
    You just need to use css to style them the way you want to.

    For example, if you wanted to move them under the main image you could do something like:

    PHP Code:
    #productAdditionalImages {
    clear:both;

    Do i just add that code in the css? or is there one that i have to change?

    Because I did that it did go under but their is too much gap between each picture.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to put more than one photo on a product

    Do you want the additional images in a column below the main image, with the text to the right? In that case, add this to the bottom of your stylesheet:
    Code:
    #productDescription {margin-left: 150px;}
    
    .additionalImages {
        width: 150px !important;
        float: left;
        clear: both;
        text-align: left;
        padding: 5px;
        } 
    
    .additionalImages+br.clearBoth {display: none;}
    The .additionalImages+br.clearBoth is needed to turn off the <br class="clearBoth"> so the text can rise to the top.
    Note that this will be ignored by IE6 and not function there, so the best fix is to remove the <br class="clearBoth"> from the bottom of the additional images code.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to put more than one photo on a product

    If you want the images at the top, except closer to the main image, all you need is this:
    Code:
    .additionalImages {
        width: 130px !important; /*adjust to taste*/
        float: left;
        padding: 5px;
        }
    You will also need to remove the <br class="clearBoth"> between main and additional images.

  9. #9
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: How to put more than one photo on a product

    Quote Originally Posted by RuFuS View Post

    Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

    PHP Code:
    <!--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 -->
    Hi,
    I'm having same trouble, and my tp monster section is exactly how you have shown here. Which part is the block (newbie) and is your example with the block or is it correct to show additional images?
    Thanks! :)

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to put more than one photo on a product

    The example shows the block of code that should correctly display the additional images. If you have that, your problem is elsewhere.

    The require($template->get_template_dir('/tpl_modules_additional_images.php'...
    line is what actually calls for the images.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How do I add more than one photo to a product listing?
    By CookieMonster in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 25 May 2013, 03:17 PM
  2. How do i add more than one image for one product?
    By len47811 in forum General Questions
    Replies: 1
    Last Post: 12 Jul 2010, 03:38 AM
  3. More than one photo per product.
    By hugoasphaug in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 25 Mar 2009, 09:02 AM
  4. how can i upolad more than one pics for one product?
    By blueonline in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Jun 2008, 01:14 AM
  5. How do I put more than one product in a What's New sidebox?
    By mattkevan in forum Basic Configuration
    Replies: 9
    Last Post: 15 Jul 2007, 02:33 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