Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Keeping correct thumbnail proportions?


webstar

Recommended Posts

Posted

Hi everyone,

 

I'm having problems with having my thumbnail pictures showing up distorted. I've read through a lot of posts and have tried many suggestions and still nothing seems to work.

 

I tried to set the width of the image in the admin panel to blank, and all I get is a thin line for my store thumnails. I thought that maybe I had to try to upload a new image to get it to work, and noticed that while the thumbnail in the admin preview looked fine, it still ended up looking like a thin line in the actual store... Anyone know why this would be??

 

I tried automatic thumbnail creator for osc3 by Peter Hasenschwandtner and it didn't work. I saw no noticeable difference. (I used a square picture with a circle in it and ended up with an oval...)

 

I also tried installing thumbnail generator by Chris Sullivan and got this error:

 

1054 - Unknown column 'customers_group_id' in 'field list'

 

select customers_group_id from customers where customers_id = ''

 

[TEP STOP]

 

Does anyone have any suggestions?

 

Thank you in advance for your help!

Looking forward to your replies.

:D

Posted

thanks for the fast reply... Barely had time to get a coffee! :)

 

I looked there and tried to put a zero in as suggested, but that ended up making the thumbnail the thin line again...

 

Very confusing... :(

Posted

in configuration, images, do you have : Calculate Image Size set to 'true' ?

Posted

I had it as false, but when I changed it to true and tried putting in a zero for the width, it gave the thin lines again...

When I left it blank, it made the thumbnails the same size as the original picture...

 

Thanks for all your help so far! I appreciate it. :)

 

Would having it set as false affect any of the contibs I tried to add??

Posted

shouldn't, try making the height 0

Posted

then it makes the thin line go horizontal...

 

???

 

The weird thing is it looks great in the preview in the admin when I'm adding it, but when you look at it in the store, it's the thin line...

why oh why couldn't it be the other way around! lol

Posted

I just tried the contrib "keep image proportions" by Jim Cowan

and I can't get that one to work either.

 

I'm starting to think this shopping cart doesn't like me! :'(

 

Anyone have any ideas?

Posted

well, now I've tried the "On the Fly" auto Thumbnailer using GD Library by Nate Welch and although it seems simple enough, it isn't working either. I'm still getting squished thumbnails...

 

I really don't know what I'm doing wrong...

 

I checked my GD version and this is what it said:

 

GD support enabled

GD version bundled (2.0.28 compatible)

 

What does bundled mean and should this still work?

 

 

When adding product_thumb.php to the catalog directory, should I be giving it permissions at all?

 

It also had a paragraph in the readme file that said: "product image should be under the directory you've specified in your store's configure.php file. Also check this configuration file to make sure the path is set correctly for both your images directory *and* your catalog directory."

 

I'm not running the directory in the root directory. It is in a directory called store. Will this affect any of the scripts at all, and if it does, where do I change things to make it work?

 

thanks for all your help!

Posted

Have you checked your image settings in your admin - configuration - images area?

 

If you have different size images you can specify only height or only width and it will adjust accordingly and not "squish" your images.

 

You can not set it to 0, you want to leave it blank.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

I can't believe it!!!!!!!!!!!!!!!!!!

whooooooohoooooooooooooo :)

 

It works now! I had tried a blank in the image width height before and it didn't work, and I tried zeros with no luck. But the time I was trying the blank I still had "calculate image size" set to false!!! DUH!

 

Then when Jemlin1 told me to set it to true, I only tried the zeros, but never thought to try it as a blank again, until now... Thanks wendyjames! And thanks Jemlin1!

 

:thumbsup:

Archived

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

×
×
  • Create New...