carloshax Posted April 21, 2003 Share Posted April 21, 2003 Hi i have designed a full header logo for my site 800x200 can anyone tell me how and where i add it. Many Thanks Carl Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2003 Share Posted April 21, 2003 catalog/includes/header.php: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Upload your header to your images directory and carefully change the above to suit Link to comment Share on other sites More sharing options...
orchard Posted April 21, 2003 Share Posted April 21, 2003 If you don't want to edit header.php you can name your logo file oscommerce.gif and copy it on top of the real oscommerce.gif. If you want it to appear in the admin section you will have to edit the php files there because they set the width of the logo to 204 pixels. The logo appears on the main admin page and on invoices and packing slips. In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
carloshax Posted April 21, 2003 Author Share Posted April 21, 2003 Many thanks for you help, dont know what i would do without this community. Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2003 Share Posted April 21, 2003 Ummm, why use 800x200 that is absolutely HUGE and ridiculous. :shock: Some people still use computers that output only 640x480, and some even still use 33.6 modems. When you run a website or a webstore remember you have to think about EVERYONE since all potential users and customers have very different setup's for their computers. Link to comment Share on other sites More sharing options...
carloshax Posted April 21, 2003 Author Share Posted April 21, 2003 I changed the image size to 800x150 but the image size is very small. Need another bit of help with it if possible. I use a lrger resolution and i have been told that to make it full size i need to take a 1px cut from the right size of the image and put in a table and set the 1px image as a background in it into it. The code i have at the mo is: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'themodhouse8.jpg', 'TheModHouse.co.uk'); ?></td> </tr> </table> What code do i need to do to achieve this Many Thanks Carl Site Here www.themodhouse.co.uk[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.