Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hardcoding image size rather than pulling from SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT


AWWWW.WAHWAH

Recommended Posts

Posted

Right now on the admin side, the small image size is set at 160 x 120

 

on this code it will make the image that size

 

. tep_image(DIR_WS_IMAGES . $orders['products_image'], $orders['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, I would like to hard code the size to be 80 x 60 instead, what is the proper code to replace this within the file, i tried height=80, width=60 but that does not work.

 

will someone give me the proper format? tia

Archived

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

×
×
  • Create New...