Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    10
    Plugin Contributions
    0

    Default Modify Product Info with Multiple Photos

    I know how this works by default, but take a look at my layout right now:

    http://store.popfuel.com/index.php?m...&products_id=5

    What I want is to put the second photo right beside the first one on the right.

    I've spent a couple of hours figuring out variables in PHP and going down the 2 different levels of TPL files.

    If I have to hard code the layout, fine. I don't care. There will never be less than 2 pictures and never more than 2 pictures.

    Any help?

    Also, I want to put the attribute dropdowns beside the price - that one is probably easier.

    Thanks...

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Modify Product Info with Multiple Photos

    Unless you resize something there is currently no additional room for another image next to the one there.

  3. #3
    Join Date
    Apr 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Modify Product Info with Multiple Photos

    Of course there's room, you just have to make the text block smaller. That wasn't my question.

    Looking at the code, it would seem like the additional images CSS tags are pulled from a database somewhere instead of from the stylesheets. Modifying the main 00 stylesheet entries for additional images has no effect.

    Can anyone point out where I can control that image's placement?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Modify Product Info with Multiple Photos

    Why don't you just edit the tpl_product_info_display.php and move this section:
    HTML Code:
    <!--bof Additional Product Images -->
     <div id="productAdditionalImages">
    .................
    </div>
    <!--eof Additional Product Images -->
    beside this section:
    HTML Code:
    <!--bof Main Product Image -->
     
    <div id="productMainImage" class="centeredContent back">
    ...............
    
    </div>
    
    <!--eof Main Product Image-->
    And probably remove the
    Code:
    class="centeredContent back"
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139d Multiple Photos for a product
    By svetlae in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 11 May 2015, 06:10 PM
  2. v151 Uploading multiple product photos via non-FTP
    By CookieMonster in forum General Questions
    Replies: 3
    Last Post: 16 Jun 2014, 09:44 AM
  3. Multiple Product Photos HELP
    By a637db800 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Dec 2011, 12:48 AM
  4. problems with having multiple photos per product
    By Snicklefritz in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 2 Jun 2010, 04:54 AM
  5. Multiple photos for one product
    By susanshropshire in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 May 2009, 05:26 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