Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image proportions


Castaway

Recommended Posts

Posted

I have product images that are sometime in portrait format and sometimes in landscape format. However they all adjust automatically to the default size, resulting in distortion.

My question is, how can I override the settings so that they appear in true proportion?

Posted

There are several things that you could do. You could install a thumbnailer contribution that handles resizing the images for you.

 

You could try in admin >> Configuration >> Images, set Calculate Image Size to true and set the width blank for the images. This should give all images the same height but varying widths, so they don't appear smushed. This might not work well with a mix of landscape and portrait.

 

If you have a good image editing program, you can edit the images and add padding to make them the right size.

Always back up before making changes.

Posted
There are several things that you could do. You could install a thumbnailer contribution that handles resizing the images for you.

 

You could try in admin >> Configuration >> Images, set Calculate Image Size to true and set the width blank for the images. This should give all images the same height but varying widths, so they don't appear smushed. This might not work well with a mix of landscape and portrait.

 

If you have a good image editing program, you can edit the images and add padding to make them the right size.

I thought I might have to do something like option 3 but was looking for a lazy way out.

Many thanks for your help.

Archived

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

×
×
  • Create New...