Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT on products_info.php


pinkfloydws

Recommended Posts

Hello:

 

Can someone help me remove the HEIGHT/WIDTH limitations on the products_info.php? When I remove the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT it shows up fine in Firefox, but it will not show in IE.

 

Any help is much appreciated, and I do thank you in advance!

 

 

 

<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']), CARL, 'hspace="5" vspace="5"') . '<br>' .   . '</a>'; ?>');


//--></script>






<script>
<?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>'; ?>
</script>

Link to comment
Share on other sites

Any help on this?

 

I'd like to have the pictures loaded up without any size limitations.

 

 

 

Hello:

 

Can someone help me remove the HEIGHT/WIDTH limitations on the products_info.php? When I remove the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT it shows up fine in Firefox, but it will not show in IE.

 

Any help is much appreciated, and I do thank you in advance!

<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']), CARL, 'hspace="5" vspace="5"') . '<br>' .   . '</a>'; ?>');
//--></script>
<script>
<?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>'; ?>
</script>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...