Guest Posted October 2, 2002 Share Posted October 2, 2002 I uploaded the : image_resize1 contribution Now I would like to have the big image directly on the page instead of the pop up window, but I don't know to modify the code: Can anybody help modify this code so to avoid the pop up and have directly the big imaget? ------------------------------------------------------------------------------ <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info_values['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_image'], addslashes($product_info_values['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> ---------------------------------------------------------- thanks in advance for your help. sebans Quote Link to comment Share on other sites More sharing options...
mattice Posted October 2, 2002 Share Posted October 2, 2002 I uploaded the : image_resize1 contribution Now I would like to have the big image directly on the page instead of the pop up window, but I don't know to modify the code: Can anybody help modify this code so to avoid the pop up and have directly the big imaget? thanks in advance for your help. sebans Change all that (after you've backed it up :) ) to: <?php echo tep_image(DIR_WS_IMAGES . $product_info_values['products_image'], addslashes($product_info_values['products_name']), '', '', 'hspace="5" vspace="5"'); ?> Leaving out the image height and width will cause the browser to display the image ACTUAL size. So don't go creating 1200 by 1400 pixel pics now ;) Quote "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
Guest Posted October 4, 2002 Share Posted October 4, 2002 it didn't work. I get only the small image May be I should have told you I'm using the contribution image resize.1 and my big images are in a different folder: images/images_big you can check it out here: http://www.posterinvestor.com/catalog/default.php sebans Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.