Hi, I have sucessufully download the jqlightbox, but after the image pop up screen, the site will redirect to the main page, and can I input the click to enlarge, it was gone. Your help will be appreciated.
My site at www.wardrobe-bar.com/zencart
Hi, I have sucessufully download the jqlightbox, but after the image pop up screen, the site will redirect to the main page, and can I input the click to enlarge, it was gone. Your help will be appreciated.
My site at www.wardrobe-bar.com/zencart
Best place to check for an answer is the support thread for this mod.
zen-cart.com/forum/showthread.php?t=126010
I have search throught zen-cart.com/forum/showthread.php?t=126010 again. Cant find the answer for my problems here. There is not thread regarding after the pop up image it will link to my main page. And for the PHP code for the click to enlarge in my tpl_modules_main_product_image.php looks fine, unless I have miss out something.
My tpl_modules_main_product_image.php :
?>
<?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('<a href="<?php echo zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_MAX_WIDTH, LARGE_IMAGE_MAX_HEIGHT);?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?php echo zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_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_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' .TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
</noscript>
</div>
Is there anyone to help as I am almost done with my cart, I have gone through the support thread but to no avail for my problem at my site, after the image pop up it will redirect to the main page, how can I correct this issue. Your help will be apprciated. Thanks.
CONFIGURATION-->jqlightbox
TURN FIXED NAVIGATION TO : FALSE
Thanks, stampsville, you have been a great help..![]()