nthorne Posted May 7, 2008 Posted May 7, 2008 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.
nthorne Posted May 7, 2008 Author Posted May 7, 2008 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
nthorne Posted May 9, 2008 Author Posted May 9, 2008 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...
♥Vger Posted May 9, 2008 Posted May 9, 2008 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.