Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Images have disappeared! Help!


Katie Jane

Recommended Posts

There is an error in the Javascript. Edit the products_info.php page locally and make sure the script for the image looks as follows:

<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>

 

Do not edit the code online with the filemanager or something like it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...