Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Sizes


Guest

Recommended Posts

Posted

How can I have 2 different sizes in images? One for the thumbnail on the main page and another which enlarges if one wanted to see a larger view? I had a 300x300 image as the image itself, however in the thumb. it looked horrible...

 

thanks

Posted
How can I have 2 different sizes in images? One for the thumbnail on the main page and another which enlarges if one wanted to see a larger view? I had a 300x300 image as the image itself, however in the thumb. it looked horrible...

 

thanks

 

use the following contribution

 

http://www.oscommerce.com/community/contri...ch,resize+image

Hard Work Is The Simplest Way Of Success

  • 2 weeks later...
Posted

Could you get away with showing a thumbnail everywhere and the full-size image on the product page? I stumbled onto a code snippet but in order to work, every image must have the same character length. How many products are you talking about?

 

jon

It's all just ones and zeros....

Posted
I just installed the contribution above, but my client uses transparent GIF images, and when the thumbnails are created, the transparent area is replaced with black. Does anybody know if there is a fix or another contribution that can resize transparent GIFs with preserving transparency?

 

 

Try saving the image files into a PNG file format.

Posted

i've just found out some info about this subject, first of all 300x300 is not an "ecual" picture resolution

 

56x75

 

225x300

 

300x400

 

are some examples

 

 

all pictures got a resoultion ecuality of 1x0,75

 

ex. in my page i use 130x97,5 which works great

Posted

PNG is not rendered well across all browsers. There is a between-header-tags fix for IE but it isn't reliable. I say this from experience :)

 

jon

It's all just ones and zeros....

Posted

The image size should be an equal ratio for the browser to make it look good

 

e.g 300x300 should be set as 150x150 for thumbnail or 100x100. As long as you divide both dimensions by the same amount this should look acceptable

Posted

The default osCommerce configuration will distort pictures that are not square, but you can change that by changing the small image width and height in your admin (set one of them to blank). If you want to have thumbnails, I would recommend the thumbnailer that Inna88 already linked to. That does sometimes have problems with transparent gifs on some servers, so you could also look into this:

http://www.oscommerce.com/community/contri...all+large+image

or this:

http://www.oscommerce.com/community/contri...all+large+image

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Archived

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

×
×
  • Create New...