There are several addons but none image related.
There are several addons but none image related.
ok, I finally got this working. Found out I had to add the rel="lightbox" to each image link for it to work.
i just installed ZLB on my site and it's work fine... but there is small problem ... my product page look like this :-
after i upload = tpl_modules_main_product_image.php
the product page is not as it was ???
my original ( tpl_modules_main_product_image.php ) file contain :-
what should i do to make it look as it is ... and make the main image work fine with the mod ??<?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">
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascriptopupWindow(\\\'' . 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>
you can check that on my site => www.srokey.info
Last edited by thunder2010; 8 Oct 2011 at 07:24 AM.
I looked at this in Firefox, IE, Chrome, and Safari. They all looked the same - like you wanted it to look.
It appears you solved your own issue. If you're seeing something different when you look at it, that's a whole other issue unrelated to this mod.
Good luck and happy zenning
Looks like he solved it by uninstalling Lightbox.It appears you solved your own issue.
Ok, so is the issue a layout issue of the product page (as indicated by your screen shots in your initial post), or is the issue one of the lightbox not functioning correctly.
If it's a function issue, please list the specific issue you are experiencing, what you've done so far to troubleshoot it, and provide a link to the exact page where the problem exists
Thank you for your replay,But i didn't solve it yet. I only didn't replace my [ tpl_modules_main_product_image.php ] with the one come with the mod.
that's why i posted my [ tpl_modules_main_product_image.php ] contains so any one can tell me where to add the ZLB cod for this file in my file.
Hi client is not using images so I wish to uninstall lightbox .. havent been able to find any instructions on how to do this. I know there is an uninstall sql but not really sure whether do this from my php my admin or from zen cart admin and not completely sure how to do it. Thanks for any instructions
Hi Amanda,
The first thing you need to do is find out what version of Zen Lightbox your client is using...as the uninstall sql will be version specific.
Next, visit the ZLB page of the community addon section of the forum. There you will see a list of ZLB versions, each with its own download link.
The versions are listed in chronological order, starting with the most recent version at the top. If your client is using an older version, scroll down until you find it.
Use the download link to grab the installation package zip file. The uninstall sql file will be in that package.
You can run the uninstall.sql either from the store admin or from phpMyAdmin. Some sites (including my own) have had trouble with this mod's sql files properly installing/uninstalling from the store admin and have had to run the file from phpMyAdmin.
If you know how and feel comfortable usingphpMyAdmin, I recommend doing it that way to avoid any snags.
Once you've run the uninstall sql file, simply delete the ZLB files. To know which files are the ZLB files, have a look at the Read_Me file that comes with the download pack.
Or - just read the Read_Me and follow the installation instructions in reverse