Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Location
    Halifax, NS
    Posts
    272
    Plugin Contributions
    0

    bug Why does my product image not show on the page?

    Hello - what i'm tyring to solve. is this.. I have the french languge in stalled.. and when I go to my product page.. it doesn't show the image on the page..

    I know that my english.php file works.. (as i know this is where the error is) I'm trying to figure out where in the code it shows this image.. so i can see if my french.php has the same line of code..
    As after installing the french - the image doesn't show.. I have renamed the english.php to french.php and the english shows.. but all my stuff is in english on the sidebar..


    I'm not a programmer so i can't seem to find this bug, in the code..

    Thanks..


  2. #2
    Join Date
    Aug 2008
    Location
    Halifax, NS
    Posts
    272
    Plugin Contributions
    0

    Default Re: /includes/languages/english.php - where is product image in CODE

    or could it be in some other file????

    I"m lost.. need to find why the image isn't showing????

    ARGGGGGGGGGGGGGGGg

  3. #3
    Join Date
    Aug 2008
    Location
    Halifax, NS
    Posts
    272
    Plugin Contributions
    0

    Default Re: Why does my product image not show on the page?

    Ok i think i got what page that is messing up..

    I'm using Zen Lightbox .. it seems that it updates the

    includes/templates/theme072/templates/tpl_modules_main_product_image.php

    also the french mod updates the same file as well.. can anyone help me fix this.. as again the image isn't showing on the French page but it does for the engish page..

    here is the code for both..

    Zen Lightbox

    Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
     */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
    <div id="productMainImage" class="centeredContent back">
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
      if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
        $rel = 'lightbox-g';
      } else {
        $rel = 'lightbox';
      }
    ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php } else { ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php } ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <noscript>
    <?php
      echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    </div>
    Frech

    Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
     */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . addslashes(TEXT_CLICK_TO_ENLARGE) . '</span></a>'; ?>');
    //--></script>
    <noscript>
    <?php
      echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . addslashes(TEXT_CLICK_TO_ENLARGE) . '</span></a>';
    ?>
    </noscript>
    </div>

  4. #4
    Join Date
    May 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Why does my product image not show on the page?

    Hello,

    this thread was helpfull to me for the same problem:

    "no product image in French version"

    Last edited by jpw1974; 10 Sep 2009 at 12:19 PM.

 

 

Similar Threads

  1. Why does Account History not show??
    By PearceStephens in forum General Questions
    Replies: 3
    Last Post: 29 Jan 2013, 01:24 AM
  2. Why does my favicon not show on my product pages?
    By australican in forum General Questions
    Replies: 15
    Last Post: 12 May 2010, 07:52 AM
  3. Why does the product description page shows 3 thumbnails?
    By Ricardo Lopes in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jan 2009, 02:25 PM
  4. Why does my store sum up all the attribute prices under the product listing page ????
    By watzursn in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 8 Sep 2008, 12:20 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