Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Replacing the thumbnail image with fullsize


captfc

Recommended Posts

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

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

Archived

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

×
×
  • Create New...