Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GD libary imagecopymerge on product_info.php


Guest

Recommended Posts

Posted

How do you convert this from product_info.php

 

$products_name = '<table border="0" cellspacing="2" cellpadding="2">' .

' <tr>' .

' <td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a></td>' .

' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>';

 

into this or vice versu

 

$sourcefile = "product_image.jpg" ;

 

I need to replace the product_image.jpg

with the above product image

 

I have tried everyway I can think of

TIA

Terry

Posted

Sorry the above code goes on shopping_cart.php not product_info.php

Archived

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

×
×
  • Create New...