Swindon_Boy Posted April 23, 2005 Posted April 23, 2005 Hi, I am trying to find where the image size is set in osCommerce. I have an image at 200x80 pixels I want to display on my index page and it is defaulting to 80x120 pixels. Any help greatfully aceepted. Cheers Matt :thumbsup:
Guest Posted April 23, 2005 Posted April 23, 2005 The size is stored in the database and can be changed in the admin>>configuration>>images settings. If you have an individual image you wish to set, then you must do so by changing the IMAGE_WIDTH and IMAGE_HEIGHT parameters, eg. change: <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> to: <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, 200, 80); ?></td> Matti
Swindon_Boy Posted April 23, 2005 Author Posted April 23, 2005 Cheers Matti!!! :thumbsup: So much to learn, so little time :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.