I've got an odd issue. I just upgraded IH4 to the latest version, 4.3.2, and now my image swap does not work. I did not seem to have this problem with IH 4.2.
Image that was just replaced and image swap is not swapping correct image:
r o s e c i t y v i n t a g e [dot] com/index.php?main_page=product_info&cPath=1_5&products_id=384
Image that for some reason is not being resized, and working correctly
r o s e c i t y v i n t a g e [dot] com/index.php?main_page=product_info&cPath=1_5&products_id=74
My modified code in modules/additional_images.php is in red and TEXT_CLICK_TO_ENLARGE has been removed:
Code:$thumb_regular = zen_image($base_image, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT); $large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large); // Link Preparation: $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . str_replace($products_image_large, urlencode(addslashes($products_image_large)), $large_link) . '\\\')">' . $thumb_slashes . '<br />TEXT_CLICK_TO_ENLARGE</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>'; //edited for no 'larger image' link $noscript_link = '<noscript>' . ($flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br /><span class="imgLinkAdditional"></span>TEXT_CLICK_TO_ENLARGE</a>' : $thumb_regular ) . '</noscript>'; //edited for no 'larger image' link // $alternate_link = '<a href="' . $products_image_large . '" onclick="javascript:popupWindow(\''. $large_link . '\') return false;" title="' . $products_name . '" target="_blank">' . $thumb_regular . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>'; $link = '<a href="' . $base_image . '">' . $thumb_regular . '</a>'; $link = $script_link . "\n " . $noscript_link; // $link = $alternate_link;


Reply With Quote
opupWindow(\'http://www.xxxxx.co.uk/index.php?main_page=popup_image_additional&pID=732&pic=0&products_im age_large_additional=images%2Fwd4879-navy_01.jpg\')"><img src="bmz_cache/2/2a8ef89bbe49e787fe8bed59c08c00f5.image.85x120.jpg" alt="Dickies Deluxe Boilersuit Coverall: WD4879" title=" Dickies Deluxe Boilersuit Coverall: WD4879 " width="85" height="120" style="position:relative" onmouseover="showtrail('bmz_cache/2/2a8ef89bbe49e787fe8bed59c08c00f5.image.301x425.jpg','Dickies Deluxe Boilersuit Coverall: WD4879',85,120,301,425,this,0,0,85,120);" onmouseout="hidetrail();" /><br />larger image</a>');
