Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Large Product Images Not Opening


mstation

Recommended Posts

Posted

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

post-319306-0-03828400-1359557993_thumb.png

Posted

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

Posted

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

 

	  <?php $pi_counter = 0; ?>
	  <?php
	    while ($pi = tep_db_fetch_array($pi_query)) {
		 $pi_counter++;
		 $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;
	    }
	   ?>

Archived

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

×
×
  • Create New...