richard978 Posted February 15, 2004 Share Posted February 15, 2004 I'm trying to skin the header include and come across this php function tep_image() I'm assuming this finds the appropriate image... I'm using it like this <?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', 'Gadgets and Gizmos'); ?> This is a transparent gif but I need to fix its size???? Can you do this? Cheers Richard Link to comment Share on other sites More sharing options...
AndrewC Posted February 15, 2004 Share Posted February 15, 2004 Add this , '1', '5'<?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '1', '5', 'Gadgets and Gizmos'); ?> That should work. Link to comment Share on other sites More sharing options...
richard978 Posted February 15, 2004 Author Share Posted February 15, 2004 Thanks that worked Link to comment Share on other sites More sharing options...
richard978 Posted February 16, 2004 Author Share Posted February 16, 2004 Add this , '1', '5'<?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '1', '5', 'Gadgets and Gizmos'); ?> That should work. You don't happen to know how to control the height...no matter what i set it defaults to 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.