msheno01 Posted July 20, 2003 Posted July 20, 2003 I wanted to know how to add an image to the footer after the copywright notice. I don't want to add a background, just an image or several images next to each other. THank you
theMusicMan Posted July 20, 2003 Posted July 20, 2003 edit the footer.php file in catalog/includes to show whatever images you desire... John
msheno01 Posted July 20, 2003 Author Posted July 20, 2003 I know that it is in the footer.php in includes/includes But what is the command or line do I use to display the images next to each other. Thanks
theMusicMan Posted July 20, 2003 Posted July 20, 2003 This code puts an image in the centre cell of a three column 1 row table; <table border="0" cellpadding="0" cellspacing="0" width="100%" > <tr> <td width="33%"> </td> <td width="33%"> <img border="0" src="urltoyourfilehere" width="xwidthhere" height="yheighthere"></td> <td width="34%"> </td> </tr> </table> you need to replace the src with the location of your image and also the width and height values. It also makes each cell the same width hence the % values. Hope this helps... John
msheno01 Posted July 21, 2003 Author Posted July 21, 2003 I have tried to enter the code that you gave me but I am still not getting any images on the bottom of the page no matter what. <?php require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php echo FOOTER_TEXT_BODY ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?><br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%" > <tr> <td width="33%"> </td> <td width="33%"> <img border="0" src="./images/moneyback.jpg" width="25" height="25"></td> <td width="34%"> </td> </tr> </table> <?php } require(DIR_WS_FUNCTIONS . 'user_tracking.php'); if ( OSC_CONFIG_USER_TRACKING == 'true') { tep_update_user_tracking(); } ?> This is how my footer looks. I know the image is in the images directory. I have also tried to use the url for the image as "../images/moneyback.jpg" but that didn't work either.. Thanks
msheno01 Posted July 21, 2003 Author Posted July 21, 2003 Nevermind about the last post... Zaq, I have do know basic HTML and I have figured out the problem Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.