Guest Posted January 25, 2007 Posted January 25, 2007 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
GulSar Ray's Posted January 25, 2007 Posted January 25, 2007 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
Inna88 Posted February 2, 2007 Posted February 2, 2007 use the following contribution http://www.oscommerce.com/community/contri...ch,resize+image 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?
jonquil Posted February 2, 2007 Posted February 2, 2007 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....
JakeWear Posted February 3, 2007 Posted February 3, 2007 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.
Ghoster Posted February 3, 2007 Posted February 3, 2007 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
jonquil Posted February 3, 2007 Posted February 3, 2007 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....
khime Posted February 3, 2007 Posted February 3, 2007 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
Chris Dunning Posted February 3, 2007 Posted February 3, 2007 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.