Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Size Problem


Swindon_Boy

Recommended Posts

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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...