sylquard Posted May 12, 2011 Share Posted May 12, 2011 Hi guys, I'm new to OSCommerce and have managed to get myself completely stuck. www.nzbags.com The site is almost complete, but when you click on any of the categories, or "New Products" on the top menu then the images are not scaled down to thumbnail size and this messes up the whole look of the site. Which files do I need to edit to fix this? Where should I start searching? Thanks. Link to comment Share on other sites More sharing options...
KDM Posted May 12, 2011 Share Posted May 12, 2011 I looked at your site, overall I thought it was good. I'm not sure you need to do anything to your files at this point. Have you tried your admin section configuration-images. There you can try different settings. If that doesn't satisfy you check out some of the contributions that deal with images, perhaps there is one there that will help you. Be sure you write down the default settings for the images just in case you want to go back to them. Link to comment Share on other sites More sharing options...
sylquard Posted May 13, 2011 Author Share Posted May 13, 2011 I looked at your site, overall I thought it was good. I'm not sure you need to do anything to your files at this point. Have you tried your admin section configuration-images. There you can try different settings. If that doesn't satisfy you check out some of the contributions that deal with images, perhaps there is one there that will help you. Be sure you write down the default settings for the images just in case you want to go back to them. Thanks Kerry, All the other posts I find relate to images not scaling properly and distorting the thumbnails. Mine are all exactly 400x500, so they scale to 100x80 perfectly with no loss of quality. The problem though is that when you try to browse a category, it all goes out of whack, and the images are not scaled at all, so they all appear as a single column at full size (not resized to thumbnail). I'm looking for the image_scale call, or a width=xxx height=xxx, that relates to these images, but I can't figure out where to start. I've sifted through the index.php, and several of the other php files, but none of the changes that I've made relate to these images - I just end up stuffing up other elements of the site. Which files should I be editing? Link to comment Share on other sites More sharing options...
♥toyicebear Posted May 13, 2011 Share Posted May 13, 2011 includes/modules/product_listing.php Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
sylquard Posted May 13, 2011 Author Share Posted May 13, 2011 includes/modules/product_listing.php Thanks Nick, problem solved. Sometimes when you've been hitting your head against a wall for too long, there's just no way to see the obvious solution on your own. You guys are great. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.