Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Sizing Issue


dfowler

Recommended Posts

Posted

Hey guys, I'm working on a site (http://www.actionawards.net/) and I am having a little issue with image resizing. As you can see the apple image is getting blown up to meet the thumbnail size. I was curious if anybody knew how to keep images that are smaller than thumbnail size from enlarging? Basically just keep them their normal size.

 

Thanks for any information!

Posted

tep_image in includes/functions/html_output.php

 

You'd need to play around with that - the function already uses getimagesize() do you can compare the result of that against the setting for the width and height. If lower, use whatver getimagesize() says...

Archived

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

×
×
  • Create New...