Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need to resizes images in shopping cart view


katsur

Recommended Posts

Posted

Hi, could anyone point me in the right direction please?

 

I need to resize images in the shopping cart - they are way too big and the page seems endless if there's more than 3 products in the cart. I assume this can't be done from admin so will have to be some code in shopping cart.php?

 

Thanks in advance,

Kat

www.partylanes.co.uk

Posted

If you want to change the image sizes there (shopping_cart.php) only, maybe changing this code:

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

to something like:

 

intval(SMALL_IMAGE_WIDTH/2), intval(SMALL_IMAGE_HEIGHT/2)

Or you could divide by 3, or 4, whatever works for you.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...