Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Picture Height And Width In Product_info.php


dotcom012

Recommended Posts

Posted

Is there a way to just have the picture in the product_info.php to a bigger size then everything thing else.

 

I want the image to be around 200w and 300j or more, but i don't want all the images to change just that one image so that when someone views the item it is just larger on that page.

 

Thanks

Posted

This is what i have tried but it dosent change the picture at all:

 

What they have:

 

<?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>' . '<img src="http://www.bandgautostyles.com/images/icon_magnify.gif" border="0"> ' 
. TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

 

What i changed: SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

<?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'],
'width="200"', 'height="300"', 'hspace="5" vspace="5"') . '<br>' . 
'<img src="http://www.bandgautostyles.com/images/icon_magnify.gif" border="0"> ' 
. TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

Archived

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

×
×
  • Create New...