Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Getting the 'click for larger image' back

    ok, i totally forgot how i changed it so that there wasnt a link to the 'click here for larger image' under the product image on the product description page, but i need to have it back now.. can someone tell me how to do this?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Getting the 'click for larger image' back

    Of course you do ...

    Did you use your templates and overrides directory and perhaps override the:
    tpl_modules_main_product_image.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Getting the 'click for larger image' back

    I have the same exact issue and now a new (monster) template in which I honestly can't quite determine where to place the CLICK FOR LARGER IMAGE link text.

    custom tpl_modules_main_product_image.php from my template follows:
    PHP 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">


    <div class="img_box21" style="float:left; overflow:hidden; margin-right:0;">
              <div class="bg_inn1">
                <div class="bg_inn2">
                  <div class="bg_inn3">
                    <div class="bg_inn4">
                      <div class="bg_inn5">
                        <div class="bg_inn6">
                          <div class="bg_inn7">
                            <div class="bg_inn8">
                              <div class="bg_inn9">
      
    <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_mediumaddslashes($products_name), MEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '</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_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '</a><br /><a href="' zen_href_link(FILENAME_POPUP_IMAGE'pID=' $_GET['products_id']) . '" target="_blank">' zen_image($products_image_medium$products_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '</a>';
    ?>
    </noscript>

      </div></div></div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
      
    </div>

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Getting the 'click for larger image' back

    It needs to be just before the closing </a> tags ...

    Once upon a time, I believe that looked like this:
    Code:
    <?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">' . 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">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    </div>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Getting the 'click for larger image' back

    Thank you thank you thank you!!

 

 

Similar Threads

  1. Getting the ship to text in the invoice LARGER
    By antoniobb in forum General Questions
    Replies: 2
    Last Post: 20 Mar 2011, 05:07 PM
  2. Click "larger image" doesn't work..
    By Bobbycat in forum General Questions
    Replies: 1
    Last Post: 20 Nov 2010, 06:49 PM
  3. No larger image on click!
    By Webdraon777 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 11 Feb 2007, 02:06 AM
  4. click for larger image
    By Visual Designs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Aug 2006, 04:23 AM
  5. Click for Larger Image Question...
    By randyb in forum Basic Configuration
    Replies: 2
    Last Post: 27 Jun 2006, 02:27 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