BlizzardBoy Posted September 10, 2006 Share Posted September 10, 2006 In the code: <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 . 'oscommerce.gif', 'oscommerce') . '</a>'; ?></td> found in header.php, I'm trying to substitue in my own picture(s). How do I change the size of my picture, in the code? The pictures I have are too big, and I want to resize them. When I type in the width and height, it says it has a programming error when I try to view the screen. Can it be done? Thanks for being a big help! Link to comment Share on other sites More sharing options...
spax Posted September 10, 2006 Share Posted September 10, 2006 Why don't you just resize them in PSP, Photoshop or whatever you use? Link to comment Share on other sites More sharing options...
BlizzardBoy Posted September 10, 2006 Author Share Posted September 10, 2006 I don't have any software like that. That's why I asked how to define the size in the code. Link to comment Share on other sites More sharing options...
spax Posted September 10, 2006 Share Posted September 10, 2006 You really don't want to resize with HTML. The images will look crap! Go and get Irfanview from here: http://www.irfanview.com/ Great bit of kit and totally FREEEEEEE!!!! :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.