digitalaviator Posted July 31, 2008 Share Posted July 31, 2008 I've tried searching for answers both in the forums and the contribs section but couldn't find this answer anywhere... I need to insert a jpg graphic into my infobox... i.e. a small 100x80 sized jpg graphic that should appear below the 'contact us' link... Here's my information.php code (pretty much stock standard)... <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . BOX_CATALOG_FEATURED_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>' ); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> I've tried many variations and combinations of code based off other info boxes but have yet to find anything that doesn't break or cause the graphic to display outside the boundaries of the infobox... I'd really appreciate some help and I'll add it to the contribs section once it's working... :-) Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.