muhsinb Posted February 18, 2007 Posted February 18, 2007 Hi, just created my new logo to replace the oscommerce.gif. Have followed instructions on replacing it with my logo, including the change in header.php in catalog\includes and whenever i refresh on the live site, all i get is the "alt" writing show up. However, when i revert back to the oscommerce.gif file everything works fine! Now sure what i am doing wrong! I have cleared out the cache and still no luck. Looking for some help here :) Cheers
acharme Posted February 18, 2007 Posted February 18, 2007 this is what I did: create logo and place the file in /images directory open includes/header.php find the lines (yours will be similar) <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . '../images/gemanjelogo.gif', 'Gemanje') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </tr> </ replace the logo with your logo and alt text. Save and load. Hope it is as easy for you learn...love...laugh...live
d4funky1 Posted February 18, 2007 Posted February 18, 2007 here's what i did create new image and name it oscommerce.gif and upload and overwrite the existing image problem solved. D4
muhsinb Posted February 18, 2007 Author Posted February 18, 2007 here's what i did create new image and name it oscommerce.gif and upload and overwrite the existing image problem solved. D4 I've done this and its kind of worked! However, the height of the image is not fully showing. The full width of the image works fine though.
muhsinb Posted February 18, 2007 Author Posted February 18, 2007 Am having a rather bizarre problem. When i upload a jpg version of my logo in the header it shows up fine. However, when i upload a png or gif file version of the logo in the header it only partially shows! Am a bit stuck on this. What could possibly be casuing this? M
tfittsy Posted February 18, 2007 Posted February 18, 2007 Am having a rather bizarre problem. When i upload a jpg version of my logo in the header it shows up fine. However, when i upload a png or gif file version of the logo in the header it only partially shows! Am a bit stuck on this. What could possibly be casuing this? M I would upload your file under a different name (you don't want your logo called oscommerce.gif do you?) and in the header information change the name of the image it references from oscommerce.gif to yourlogoname.jpg or gif or png or whatever you use. in the tep_image it will also define the size of the image. This will match the oscommerce.gif image. you can either set them to the same size as your image or just remove them and it'll display the image at the actual image size.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.