This thread is getting really long and difficult to search. With that said, after installing IH, everything worked fine except for the large image popup. Since the site in question (https://www.rondogphotog.com/zencart) sells prints of the images, it is very important to only present images with the copyright watermark, and the popup was referencing the raw image. It took a bit to track down where things were happening, bit I was able to get the following fix to work acceptably. The only issue I have now is the need to use popupWindowPrice, as the plain popupWindow function doesn't automatically resize...
Any comments or suggestions are welcomed.
Replace /includes/templates/<your custom>/templates/tpl_modules_main_product_image.php with the following:
<?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));
$imgsrc=handle_image($products_image_large, $products_name, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT);
?>
<div id="productMainImage" class="centeredContent back">
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindowPrice(\\\'' . HTTP_SERVER . DIR_WS_CATALOG . $imgsrc[0] . '\\\')">' . 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="' . HTTP_SERVER . DIR_WS_CATALOG . $imgsrc[0] . '" 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>