Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with image sizes and display


Guest

Recommended Posts

Posted

Hi all,

 

I am having trouble with the image sizes. All is displaying OK, apart from the fact that many of my product images are different sizes, and therefore when displayed look distorted.

 

Is there any way I can make the software default the image to its original size, rather than enforce the aspect ratio on the picture in the admin settings.

 

Any help would be appreciated. I have looked in the mods and hacks bit on this website. and the only thing I could find was an image mod that was written in French. My french translation is not the best, but I kind of worked out that this wasn't what I needed to cure the problem.

 

Thanks all.

Posted

In administration/configuration/images

Put the height or width to 0

 

HTH

The_Bear

Posted

Hi,

 

Put a size of the image in the height box and leave the width box completely empty ... no zeros...just blank.

 

This will automatically constrain the image to the height size and the width will follow along.

Posted

I tried puting 0 or null into the height and/or width,

still some of my pictures are destorted.

 

If I click on the item and click enlarge they are totally clear.

Any further sugestions?

 

 

Corwyn

Posted

There are multiple image sizes--make sure that you do this with all of them. Also, check the file that is actually displaying the image to make sure it doesn't have anything hard coded.

 

Good luck,

Matt

Archived

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

×
×
  • Create New...