captfc Posted May 17, 2007 Share Posted May 17, 2007 Hi, I apologize for reposting this, but I think I put it in the wrong forum before. I want to take out the thumbnail when someone clicks on an individual product and replace it with the full size picture. It's for an art site and there's not much text and mostly it's sold through the images. Thanks in advance for reading this and thanks for any help you can give. Link to comment Share on other sites More sharing options...
captfc Posted May 17, 2007 Author Share Posted May 17, 2007 Hi, I apologize for reposting this, but I think I put it in the wrong forum before. I want to take out the thumbnail when someone clicks on an individual product and replace it with the full size picture. It's for an art site and there's not much text and mostly it's sold through the images. Thanks in advance for reading this and thanks for any help you can give. Is there a way to alter the following code in products_info.php so that instead of a thumbnail it gives me the whole picture? <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> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.