Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to make a table background image in PHP?


loveacrossborders

Recommended Posts

I have this problem because I'm trying to make all of my images secure. The banner at the top of my oscommerce shop is inside a table. I have an image as the background for the table. Here's what it looks like:

 

<table background="http://xxx(not ready to be shared yet :P).acrossborders.com/thai_pics/shoppingthailand.jpg" WIDTH="100%" BORDER="2" CELLPADDING="2" CELLSPACING="1">
<tr>
<td>
<center>

 

I know that to make an image secure I have to put:

<?php

echo tep_image(DIR_WS_IMAGES . 'my_image.gif', 'my ALT text', '100', '150');

?>

 

How can I make this work inside a table?

 

Please help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...