lbhaven Posted March 5, 2007 Share Posted March 5, 2007 For the main logo for the store what are the max image sizes allowed? To change from the original 'oscommerce' logo what do I need to change in coding? Thanks Link to comment Share on other sites More sharing options...
jonquil Posted March 5, 2007 Share Posted March 5, 2007 includes/header.php Line 57 <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Replace the first bold bit above with your image name, e.g., logo_store.jpg or .gif. The second bold bit is the alt text. There is no restriction on dimensions. jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
lbhaven Posted March 5, 2007 Author Share Posted March 5, 2007 I changed to... <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . lbhaven_retro.GIF', 'lbhaven_retro') . '</a>'; ?></td> And am getting error Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/.honolulu/lbhaven/lbhaven.com/includes/header.php on line 57 ??? Link to comment Share on other sites More sharing options...
jonquil Posted March 5, 2007 Share Posted March 5, 2007 You deleted a single quote in error before lbhaven_retro.GIF': <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'lbhaven_retro.GIF', 'lbhaven_retro') . '</a>'; ?></td> jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
lbhaven Posted March 5, 2007 Author Share Posted March 5, 2007 Syntax error.. problem solved Thanks Jon Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.