swissarmyknife Posted June 10, 2005 Share Posted June 10, 2005 I have installed the latest Auto Resize Images contrib and it works GREAT on every browser BUT IE on WIN. :( The page renders with a JS error linked to this code: <script language="javascript"><!-- document.write('<?php echo '<a href="javascript: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*2), (SMALL_IMAGE_HEIGHT*2), '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*2), (SMALL_IMAGE_HEIGHT*2), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> I've searched the forums, messed with the code, and can't figure out what is wrong here, but if I take out the JS and just leave the html, it works. :'( Any ideas? I must be missing the obvious... Thanks! Link to comment Share on other sites More sharing options...
swissarmyknife Posted June 10, 2005 Author Share Posted June 10, 2005 I forgot to mention, the site is here. Just click on any product and you will see (IF you are using IE on WIN) that there is no product image. Any help or suggestions would be greatly appreciated! Thanks, - jeff Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.