Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

    Default Wrong Image on Product Pages

    I don't know if this is a Zen issue, or something my programmer did. If I search products, the returned list has the correct image of the different products. But after clicking on one and going to the individual product page, the image is a general photo of the TYPE of product, but not for the particular product displayed. I have checked the image for the category thinking that maybe that is what is being displayed, but there is not an image assigned.

    Does Zen have the ability to display the individual image on the product page? I am wondering if maybe Zen does not, and therefore my programmer placed this generic image here. He is not available for me to ask.

    Thanks,

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Wrong Image on Product Pages

    1) A link to your site would help us tell you whats going on
    2) What you describe doesn't sound right, have a look at other zencarts out there to see the product image will show on the product info page by default

    see this site
    http://sweetbrucies.co.nz/index.php?...e=products_all

    If you click on a product, you get taken to the product info page which displays the same image, albeit the larger version
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Feb 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

    Default Re: Wrong Image on Product Pages

    I see from your link that it does display there. I had some custom changes to this page to force customers through our New Blade Selector (removed ability to buy here since we need info from them before we can custom grind this blade). My programmer will be available soon.

    The site is californiacoldsaw.com
    I hope to go live in a week after a few more issues to work out.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Wrong Image on Product Pages

    1) what version of zencart are you using, because the version of image handler being used (from what i can tell from the js file), is at least 2 or 3 years out of date if not older, you should be using Image Handler 3 on a modern site, especially as the old js doesn't work correctly in Opera, Chrome, Safari, IE9

    The image IS there, or at least the code appears to be, It looks like someone had a go at altering the Image handler code badly if i am reading it right

    I went to this page here

    http://californiacoldsaw.com/cart/in...ndex&cPath=9_5

    clicked on the first product

    http://californiacoldsaw.com/cart/in...&products_id=6

    now look at the source code

    HTML Code:
    
    
    
    <!--bof Main Product Image -->
     
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="javascript:popupWindow(\'http://californiacoldsaw.com/cart/index.php?main_page=popup_image&amp;pID=6\')"><img src="bmz_cache/6/63b7ac08c19e81a85c39ab597da17f46.image.147x120.jpg" alt="Lenox CycleHD Coolant - 1 Gallon Bottle" title=" Lenox CycleHD Coolant - 1 Gallon Bottle " width="147" height="120" style="position:relative" onmouseover="showtrail('bmz_cache/c/ceaafe47b6a8594f1c70e74b9af99b1e.image.368x300.jpg','Lenox CycleHD Coolant - 1 Gallon Bottle',147,120,368,300,this,0,0,147,120);" onmouseout="hidetrail();"  /><br /><span class="imgLink">larger image</span></a>');
    //--></script>
    <noscript>
    <a href="http://californiacoldsaw.com/cart/index.php?main_page=popup_image&amp;pID=6" target="_blank"><img src="bmz_cache/6/63b7ac08c19e81a85c39ab597da17f46.image.147x120.jpg" alt="Lenox CycleHD Coolant - 1 Gallon Bottle" title=" Lenox CycleHD Coolant - 1 Gallon Bottle " width="147" height="120" style="position:relative" onmouseover="showtrail('bmz_cache/c/ceaafe47b6a8594f1c70e74b9af99b1e.image.368x300.jpg','Lenox CycleHD Coolant - 1 Gallon Bottle',147,120,368,300,this,0,0,147,120);" onmouseout="hidetrail();"  /><br /><span class="imgLink">larger image</span></a></noscript>
    </div><!--eof Main Product Image-->
    Those images are on the server, but the code there is Borked, it looks like they have tried to put the hover effect on to the main image, (which was a fairly shaky hack in the very old version and has since been dropped), Anyway this is the code from the site I linked to earlier

    HTML Code:
    <!--bof Main Product Image -->
     
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="javascript:popupWindow(\'http://sweetbrucies.co.nz/index.php?main_page=popup_image&amp;pID=45\')"><img src="bmz_cache/2/283b856abb6c5a26027efa3ec52a4f9b.image.89x120.jpg" alt="Dragon Sweets - Assorted Creams 2kg Bulk" title=" Dragon Sweets - Assorted Creams 2kg Bulk " width="89" height="120" /><br /><span class="imgLink">larger image</span></a>');
    //--></script>
    <noscript>
    <a href="http://sweetbrucies.co.nz/index.php?main_page=popup_image&amp;pID=45" target="_blank"><img src="bmz_cache/2/283b856abb6c5a26027efa3ec52a4f9b.image.89x120.jpg" alt="Dragon Sweets - Assorted Creams 2kg Bulk" title=" Dragon Sweets - Assorted Creams 2kg Bulk " width="89" height="120" /><br /><span class="imgLink">larger image</span></a></noscript>
    </div><!--eof Main Product Image-->
    Something not right with your code

    edit------------------------------------------

    the script and noscript tags in the "Main Product Image" div are both showing up as "display: none;" when i view them in Dragonfly
    Last edited by nigelt74; 18 Jun 2011 at 05:26 AM.
    Webzings Design
    Semi retired from Web Design

  5. #5
    Join Date
    Feb 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

    Default Re: Wrong Image on Product Pages

    I am using 1.3.9h, installed about 2 months ago. As I mentioned, this page of the cart HAS been modified. I will pass your comments on to my programmer hopefully for a quick fix.

    Thank you for pointing me in the right direction.

 

 

Similar Threads

  1. Facebook Shares bringing up the wrong image from a product
    By dgent in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 3 Dec 2014, 12:02 AM
  2. v151 Main and Additional Image Popups wrong size image
    By k1ra in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Apr 2014, 01:54 PM
  3. Href on product pages wrong after moving of page
    By danmoto in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 17 Jan 2012, 10:35 AM
  4. change page image link and image only for selected product pages
    By mpjbay in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 9 Dec 2009, 05:39 AM
  5. image positioning on product pages
    By bexford in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 May 2007, 04: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