Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP image code help


will32

Recommended Posts

Hi,

 

I got a side box banner which shows up with nochex and links it to the payment site, but i have an image in my images folder which i want to link it to the box and not got to the nochex site. How can i do this. Please help me with the code.

 

Code currently in my file is:

 

$info_box_contents = array();

 

$info_box_contents[] = array('align' => 'center',

 

// 'text' => tep_image(DIR_WS_IMAGES . 'payment.gif') .

 

//spiderwebb changed to provide a link to your payment acount

 

'text' => '<A target="_blank"HREF="http://www.nochex.com/email=my mail"><IMG border="0" SRC="http://www.nochex.com/web/images/cardsboth1.gif"></A><br>'

 

);

 

Please tell me how can i get rid of this link and point it to my image which is called payment.gif in my images folder. Thanks

Link to comment
Share on other sites

Replace the following:

 

'text' => '<A target="_blank"HREF="http://www.nochex.com/email=my mail"><IMG border="0" SRC="http://www.nochex.com/web/images/cardsboth1.gif"></A><br>'

 

With:

 

'text' => tep_image(DIR_WS_IMAGES . 'payment.gif')

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...