Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image problems with 2.2 rc1


nthorne

Recommended Posts

Posted

Hey folks,

Since my pics were getting squashed, I looked into it and saw that I could leave the width field in images blank to allow the images to retain their original proportions.

When I leave the field blank, however, many of the images are shown with their original HEIGHT and some with their original height and width. what gives?

thanks for any advice

 

P.S. After viewing the source code, the problem images have no code for width and height like the images that are working properly.

Posted

It seems the problem images are all jpgs. The gif's are working fine. Also, if I select image required false, the jpg's disappear.

I am also retrieving images from an outside directory. Would this matter?

Any suggestions?

thanks

Posted

For the sake of the archives.......

The issue lies in the fact that my images are stored in a different location than OSCommerce.

Once I put the images in the images folder, all is well.

Hope this helps anyone else...

Posted

By storing them in a different location they weren't being run through GD Library, which is why using just one setting wasn't working.

 

Other site owners have the same problem even when they do have their images inside the 'images' folder because their hosts didn't install GD Library - if that's not installed then you do need to specify both a width and height.

 

Vger

Archived

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

×
×
  • Create New...