Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Large Product Images Not Opening


Recommended Posts

Hello Oscommerce fellows!


i am new here on the forum but i have been reading a few things since after all setting everything up correctly needs some time and some tweaks..


i have the latest 2.3.3 version of the oscommerce running but it looks like there seem to be a problem with displaying the large product images..


i have attached a pic with the problem in evidence!


any help would be appreciated


Link to comment
Share on other sites

hi, thanks for the help!


this ovviously solved the issue since you just made me realise that in the html content field i should also paste the information for the image if i want it to display!


i thought it was a simple image caption while it isn't

Link to comment
Share on other sites

try changing the code in your product_info.php that controls the extra images to this


	  <?php $pi_counter = 0; ?>
	    while ($pi = tep_db_fetch_array($pi_query)) {
		 $pi_entry = ' <li><a title="' . strip_tags($product_info['products_name']) . '  ' . strip_tags($pi['htmlcontent']) . '" href="';
		 $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image']);
		 $pi_entry .= '" target="_blank" rel="fancybox" title="' . $pi['htmlcontent'] . '">' . tep_image_product_info(DIR_WS_IMAGES . $pi['image']) . '</a>';
		 $pi_entry .= '</li>';
		 echo $pi_entry;

Link to comment
Share on other sites


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

  • Create New...