Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bloody Image Resizing!!!!


garysumpter

Recommended Posts

Posted

Hi all,

 

Is there a way to set the product images on the website to rezize without screwing up the image?

 

Maybe set it to rezive by % instead of pixels? Some of my product images look ok whereas some look stretched which is a nightmare.

 

Any ideas?

 

Thanks

 

Gary

Posted
Hi all,

 

Is there a way to set the product images on the website to rezize without screwing up the image?

 

Maybe set it to rezive by % instead of pixels? Some of my product images look ok whereas some look stretched which is a nightmare.

 

Any ideas?

 

Thanks

 

Gary

 

 

In your admin set either the height or the width but not both.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
...Is there a way to set the product images on the website to rezize without screwing up the image?

By far the best way to achieve this is to scale the images to the correct size before uploading them to the site. You are likely to get the best image quality and optimal operation.

 

You CAN achieve a similar affect by only specifying the width or height of the images in the admin control, but this has two drawbacks :

 

1) It means the customer is usually downloading an image (often much) larger than they see which wastes bandwidth and slows the site down

 

2) If the customer connection is slow (ie - a modem) then it can mean that the page rendering is adversely affected until all the images have been downloaded. This happens because if you miss off one of the image dimensions then the browser can not know how to render the page correctly until it has the entire image data (how can it - until it downloads the image, it can't know how what the size / aspect ratio is)

 

Don't mean to plug it, but if you are interested, the EDFT (easypopulate data file tools) contribution, written by yours truly, contains (among lots of other stuff) a script that will scan through all your images and batch convert them (to/from jpg/png) and scale them, and add borders and all sorts of other stuff if you want. This particular script needs virtually no configuration (unlike some of the others in the contrib.). I use it all the time and it has saved me countless hours (days ?) :-)

 

Rich.

Archived

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

×
×
  • Create New...