DJMarley Posted January 10, 2006 Posted January 10, 2006 Hi, i'am about to use "Easy Populate" to add more than 1000 Sypnosis to my website. The problem is that i want to disable the Thumbnail image (Click to enlarge) of the products, or find a way to place that image within the top of my Sypnosis Text (That is made of tables). Actually, if we try to click on the image it's impossible to get it Enlarged, because the image got behind the table. Of course, if we insert the Sypnosis one by one using Admin we get no problem, but this way is a very time consuming task. Thanks all for your help, Rafael "DJMarley"
Guest Posted January 10, 2006 Posted January 10, 2006 In product_info.php around line 108 find; <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> Change to; <script type="text/javascript"><!-- document.write('<?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"'); ?>'); //--></script> <noscript> I think that is all you have to do, if it doesn't work I will file compare. EDIT: that is to disable "Click to Enlarge"
DJMarley Posted January 12, 2006 Author Posted January 12, 2006 In product_info.php around line 108 find; <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> Hi!! Thank you for such a fast responde. You guide me in the right direcction. Because i wanted to remove the thumbnail what i did was to Comment the whole code using <!--- //--> and that did the trick (Hope this code works only to display the thumbnail only). Now i'm going to use a contrib that will help me to use 3 images that can be place in other place rather than the une used by the thumbnail. Thanks a lot!!! Rafael
DJMarley Posted January 12, 2006 Author Posted January 12, 2006 In product_info.php around line 108 find; Hi!! Thank you for such a fast response. You guide me in the right direcction. Because i wanted to remove the thumbnail, what i did was to Comment Out the whole code using <!--- //--> and that did the trick (Hope this code works to display the thumbnail only). Now i'm going to use a contrib that will help me to use 3 images that can be place in other place rather than the une used by the thumbnail. Thanks a lot!!! By the way.. Can i place this code else where? i mean, the problem i used to have was that the thumbnail was behind the table that holds the product description, but if i can place it in other place away from the product description, it will be great!! Any idea? Rafael
Recommended Posts
Archived
This topic is now archived and is closed to further replies.