Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Missing main image on product info page

    Please Help. I've just about got my product info page layout how i want it but now i've lost the main image. I have installed 'lightbox', 'image handler' and 'swap image on mouseover' and all was working fine. I have the extra images showing , but not the main one.

    The image is in the code but doesn't show on the page.
    Here's the page
    http://www.rosecliffe-arabians.com/s...products_id=13

    here's the code to show the image


    <!--bof Category Icon -->

    <div id="categoryIcon" class="categoryIcon" align="left">Mares</div>

    <!--eof Category Icon -->

    <!--bof Prev/Next top position -->
    <!--eof Prev/Next top position-->

    <!--bof Main Product Image -->
    <br>

    <div id="productMainImage" class="centeredContent back">
    <!-- begin zen lightbox v1.3 aclarke 2006-10-20 -->
    <script language="javascript" type="text/javascript">
    <!--
    document.write('<a href="images/1_Simeon-Succa.jpg" rel="lightbox[gallery]" title="Simeon Succa"><img src="images/1_Simeon-Succa.jpg" alt="Simeon Succa" title=" Simeon Succa " width="260" height="184" style="position:relative" onmouseover="showtrail('images//1_Simeon-Succa.jpg','Simeon Succa',260,184,500,354,this,0,0,260,184);" onmouseout="hidetrail();" /><br />
    <span class="">larger image</span>
    </a>');
    //-->
    </script>
    <!-- end zen lightbox v1.3 aclarke 2006-10-20 -->
    <noscript>
    <a href="http://www.rosecliffe-arabians.com/straight_egyptian/index.php?main_page=popup_image&amp;pID=13" target="_blank"><img src="images/1_Simeon-Succa.jpg" alt="Simeon Succa" title=" Simeon Succa " width="260" height="184" style="position:relative" onmouseover="showtrail('images//1_Simeon-Succa.jpg','Simeon Succa',260,184,500,354,this,0,0,260,184);" onmouseout="hidetrail();" /><br /><span class="listingProductImage">larger image</span></a> </noscript>

    </div>
    <!--eof Main Product Image-->

    <!--bof Product Name-->

    <h1 id="productName" class="productGeneral">Simeon Succa</h1>

    <!--eof Product Name-->

  2. #2
    Join Date
    Jan 2011
    Location
    midwest USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: Missing main image on product info page

    I'm having nearly the same issue so I would love to get the answer to your fix as well. I just did a fresh install of zencart 1.3.9h and have lightbox, image handler 3 and multi cross sell installed. used a repopulate mod to import from the old shop which is live. Everything is there and works.. I'm still working on settings and listing stuff.. but my main product image dissapeared. lightbox knows where it is and uses it.. its on the server, but the product listing page won't display it. I think we have both run into the same problem. http://bloomingvinedesign.com/shop/

    all products are affected.
    I reject your reality and substitute my own--Adam Savage

  3. #3
    Join Date
    Jan 2012
    Location
    South West UK
    Posts
    17
    Plugin Contributions
    0

    Default Re: Missing main image on product info page

    Quote Originally Posted by bloomingvine View Post
    http://bloomingvinedesign.com/shop/

    all products are affected.
    I see you fixed this, and am having the same issue. I think its to do with the image path in

    zen/includes/templates/classic/templates/tpl_product_info_display.php

    Can you possibly share the code between

    <!--bof Main Product Image -->
    and
    <!--eof Main Product Image-->

    at around line 50? Or can anyone? I'm trying to recover it too. Cheers.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Missing main image on product info page

    You can see the official original version of the file by looking in /includes/templates/template_default/templates
    And then make corresponding fixes to your custom version of the file as necessary.

    And/or put back the original version of the /includes/modules/main_product_image.php file instead of whatever you replaced it with when installing plugins/addons.
    .

    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.

  5. #5
    Join Date
    Jan 2012
    Location
    South West UK
    Posts
    17
    Plugin Contributions
    0

    Default Re: Missing main image on product info page

    Thanks Dr B I shall do this now

  6. #6
    Join Date
    Jan 2012
    Location
    South West UK
    Posts
    17
    Plugin Contributions
    0

    Default Re: Missing main image on product info page

    Hmm I can't track this down anywhere - nothing made a difference.

    I tried replacing

    includes/templates/template_default/templates/tpl_modules_additional_images.php
    includes/templates/template_default/templates/tpl_modules_main_product_image.php
    includes/modules/classic/additional_images.php
    includes/modules/classic/main_product_image.php

    Nothing makes a difference. The problem persists when you switch templates too.
    What displays the image on the page?

    I must have missed it. I imported the products via Apsona with custom URLs and FTPd the images to their location. All other product sizes work, I have /medium and /large folders in my images, all renamed and linking great - unless on main product page.

 

 

Similar Threads

  1. Border around image on main product info page only
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2011, 06:10 PM
  2. Missing product name & product price from Product Info Page
    By kpatterson in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Feb 2011, 03:11 AM
  3. Removing category icon/product main image on product info page
    By cochlear in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Oct 2010, 04:42 AM
  4. add weblink and image missing from main page
    By rhaught in forum General Questions
    Replies: 5
    Last Post: 14 Dec 2008, 09:41 PM
  5. Simple Dropshadow for Product info main image
    By neo_blitz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Nov 2008, 05:43 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR