Hi,
Has anyone tried integrating LuckyZoom (http://luckyteam.co.uk/products/LuckyZoom/integration) with oscommerce? I've integrated it with MenaltoGallery themes, but oscommerce....I couldn't figure it out. Some starting points I've done is modify catalog\product_info.php with the following:
Step 1:
Download the shareware: http://luckyteam.co.uk/products/LuckyZoom_shareware.zip
Upload to root of your website.
Step 2:
Open catalog\product_info.php,
Between head tags:
<script src="lz-packed.js" type="text/javascript"></script>
<link rel="stylesheet" href="LuckyZoom.css"}" type="text/css" media="screen" />
Step 3:
Find:
document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
Figure out how to add the following: (note question marks, I need a variable here referencing the image)
<div id="sc? " style="margin: 0px auto 0px auto;" class="luckyZoomSmallImageCont">link to image
<div id="bc?" class="luckyZoomBigImageCont" style="width:300px; height:300px; left: {$lzleft}px; top: 0px">link to image
<script type="text/javascript">
// <![CDATA[
var settings = {literal}{{/literal}
bigImage_always_visible: false,
drag_mode: false
{literal}}{/literal};
zoom = new luckyZoom('sc{?}', 'sim{?}', 'bc{?}', 'bim{?}', settings);
zoom.initZoom();
// ]]>
</script>
Anyone out there that has any idea on this integration?
Thanks all!


What a great resource this has turned out to be... Maybe a contribution in there somewhere! LOL