SpiderWire Posted December 14, 2009 Share Posted December 14, 2009 Hi I'm new to PhP and I have search the internet and this forum now for two days and still have no answer. I’m trying to change the size of an image. It’s located here ../catalog/index.php and here is the coding for the image. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.png', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) At this stage a have manage to change the picture to ‘my picture’ but it stays at 57 x 40. I do realize that there might be a post out there about the same thing but I just can’t find it. Could someone please direct me in the right direction. Is there a common place where you change these values? Thanks in advance. Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2009 Share Posted December 14, 2009 admin->configuration->images Link to comment Share on other sites More sharing options...
jigga1234 Posted December 14, 2009 Share Posted December 14, 2009 If you want all your category images to be the same size as the HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT values then you will set it in admin. If you want all the category images to be 57x40 and have a different size for the other images under HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT then you will need to ammend the following. get. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.png', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) and change to <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.png', HEADING_TITLE, 57, 40) This will now make all your category images and those only 57x40 this will only help if all your category images are this size and you dont want them to be the same as your images that are controlled by the HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT values controlled in admin. Hope it helps? Link to comment Share on other sites More sharing options...
SpiderWire Posted December 14, 2009 Author Share Posted December 14, 2009 admin->configuration->images Jip and it's that easy. Thanks for the help, and only now I realize my mistake. Thanks guys for the help, now I can move forward......GREAT!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.