Warbirdz Posted January 4, 2007 Share Posted January 4, 2007 User Problem #1 ... I have oscommerce setup and for the buyer it all looks ok. However, when you click on the link to enlarge the image contained in an item listing it does not show that, it shows the header graphic. this happens for all items. I have oscommerce loaded on 2 sites and the same thing happens on both. Is there anyone who can shed some light on what the problem may be or where I can look in order to fix it? Link to comment Share on other sites More sharing options...
Warbirdz Posted January 12, 2007 Author Share Posted January 12, 2007 anyone? Link to comment Share on other sites More sharing options...
bill110 Posted January 13, 2007 Share Posted January 13, 2007 In catalog/product_info.php be sure the javascript code in the head looks like this <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } //--></script> then about line 108 on a clean install <script language="javascript"><!-- 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>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> Hope this helps My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
Warbirdz Posted February 14, 2007 Author Share Posted February 14, 2007 Hi, Thanks for that .. but that's what's there. When I look at another site their large image option says .. http://......./popup_image.php?PID=34 whereas on my site it says http://......./popup_image.php?PID=34&ocCsjd=** lots of random characters ** if that gives any more of an idea of what's going wrong? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.