Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trying to show an enlarged image in the products_info page


scotch33

Recommended Posts

Posted

Hi,

 

I don't need to use the popup on Products info and just want to show the large image there. I thought that by grabbing the code in the actual popup window I could use that to show the image, but it doesn't work. I am trying to use the following code in the products info page to make the full size image show...

 

<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>

 

What it actually shows though is the following (from the rendered page code)

 

<img src="images/" border="0" alt="">

 

can anyone tell me what I'm doing wrong?

 

Thanks!

Posted

$products array does not exist in product_info.php

 

Use $product_info instead.

 

www.w3schools.com for a primer on how SQL works.

Archived

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

×
×
  • Create New...