Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Side Bar Links


IKWeb

Recommended Posts

Hello All

 

I have added a image to an info box on the right hand side of the shop system. The image is fine and added ok. See my code below.

 

Problem I have is I want to be able to turn the image into a link as its a verisign image. I cant work out tho how this is done.

 

My code is below, I would welcome any feedback anyone can give.

 

<?php

?>

<!-- Card Info Box //-->

<tr>

<td>

<?php

$info_box_contents = array();

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

'text' => BOX_HEADING_CARD

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

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

'text' => tep_image(DIR_WS_IMAGES . 'verisign.gif'));

 

new infoBox($info_box_contents);

?>

 

</td></tr>

<!-- card_eof //-->

Link to comment
Share on other sites

Hello All

 

I have added a image to an info box on the right hand side of the shop system. The image is fine and added ok. See my code below.

 

Problem I have is I want to be able to turn the image into a link as its a verisign image. I cant work out tho how this is done.

 

My code is below, I would welcome any feedback anyone can give.

 

<?php

?>

<!-- Card Info Box //-->

<tr>

<td>

<?php

$info_box_contents = array();

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

'text' => BOX_HEADING_CARD

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

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

'text' => tep_image(DIR_WS_IMAGES . 'verisign.gif'));

 

new infoBox($info_box_contents);

?>

 

</td></tr>

<!-- card_eof //-->

 

 

Build a link around your image as in HTML

check you \includes\boxes\manufacturers.php line 31 and use it as an example.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...