directpcmall Posted May 7, 2007 Share Posted May 7, 2007 I want option of adding a large image and displaying it when user clicks on small image. added a column in products table for url called products_image_big varchar(64) also created a dir bigimage to store bigimages. need to modify categories.php to upload the large size images into dir and also code to display it have not checked yet code in which file to display it. but the code is bit difficult for a person new to php. i dont want to upload a large image and show it as a small image due to bandwidth limitations as oscommerce by default normally does this. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 7, 2007 Share Posted May 7, 2007 What you are looking to do is built-in. You just upload the one large image size and use the settings in admin->Configuration->Images to control the size of the smaller size. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
directpcmall Posted May 10, 2007 Author Share Posted May 10, 2007 What you are looking to do is built-in. You just upload the one large image size and use the settings in admin->Configuration->Images to control the size of the smaller size.(this only controls the image view size memory it takes is still of the large sized images eating precious bandwidth.) you can check it out by right click on image property. Jack when a small image is viewed actually a large size image is loaded by defualt in memory by oscommerce . which eats up loads of bandwidth specially for users on 56k telephone modem. a large image and small image should be loaded seprately. to increase site efficency.this is a serious drawback of oscommerce easy thing is to upload a small size image only when a user double clicks to view a large image only a small image will appear. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 8, 2007 Share Posted June 8, 2007 The better solution is use one of the auto thumbnailer contributions. That way, only one size is required. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
jhande Posted June 12, 2007 Share Posted June 12, 2007 I want option of adding a large image and displaying it when user clicks on small image. ... i dont want to upload a large image and show it as a small image due to bandwidth limitations as oscommerce by default normally does this. I'm one of those poor saps stuck with 56K dialup. :( I used this contribution - Big Images 1.25 by Jan Skopek It was easy to install and works fine :thumbsup: Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.