Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two quick questions about images


Foley471

Recommended Posts

Posted

I'm coming across two issues on my online storefront, primarily with images.

 

1) osCommerce sets all the thumbnails to one uniform image size. This is leading to some fairly heavy distortion of certain images. I sell a wide variety of products, and can't get all my thumbnails even close to one uniform size (some stuff has to be tall and skinny, some stuff has to be short and fat)... so is there any way to allow the images to determine their own size?

 

2) Some of the thumbs I'm putting up appear in the admin site, so they're definitely in my database, but they just will not appear on the live site. Is there any thing that might be causing this?

Posted
1) osCommerce sets all the thumbnails to one uniform image size. This is leading to some fairly heavy distortion of certain images. I sell a wide variety of products, and can't get all my thumbnails even close to one uniform size (some stuff has to be tall and skinny, some stuff has to be short and fat)... so is there any way to allow the images to determine their own size?

in admin set small image height OR width and leave the other blank. also good idea to use a thumbnail contribution.

This may help with 2nd issue. not sure

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted
in admin set small image height OR width and leave the other blank. also good idea to use a thumbnail contribution.

This may help with 2nd issue. not sure

 

Thank you for responding. I just tried your suggestion, I changed small image width to blank, and height set to 130. When I did that it actually made all the images on the site disappear. then I changed width from blank back to 100 and all the images came back. is there another setting I should set, or did I possibly do something wrong?

 

Also, and please forgive my ignorance, what is "thumbnail contribution"?

Posted
Thank you for responding. I just tried your suggestion, I changed small image width to blank, and height set to 130. When I did that it actually made all the images on the site disappear. then I changed width from blank back to 100 and all the images came back. is there another setting I should set, or did I possibly do something wrong?

 

Also, and please forgive my ignorance, what is "thumbnail contribution"?

 

 

Look in the contribution section. basically it uses a library of commands on the hosting server (either GD library or image magic if I remember correct) to create thumbnail versions of your images. By default the images in OSC that appear to be thumbnails in the product listings are just your larger product pics resized by the browser to fit in the space constraints you specify in admin.

 

using the default image handling in OSC - If you have 30kb image 800px by 600px the server sends that 30kb image to the product page and the browser makes it fit in 130px by 100px without regard to proportions. Just fill all that space reserved in the page any way you can.

 

With an image contribution the server will create a small thumbnail image of the 30kb image that may only be 1-2 kb and can be configured to resize images to fit in a space of 130 by 100 (or whatever size you need) without distorting the proportions of the original image. Then if some one clicks to see the larger version the server serves out the original large 30kb file. It can save a ton of bandwidth and load times if you have many products at all in your store.

The better contributions probably also cache the thumbnails so the server isn't constantly building thumbnails as well with every page request.

 

HTH

Travis

Archived

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

×
×
  • Create New...