nyfael Posted January 11, 2007 Share Posted January 11, 2007 Hi, I'm quite new to osCommerce (but not to web development) and I wanted a way to make images to be the right proportions within certain sizes. The image option I got seems to set absolutes, they can't seriously expect me to make every image the same size? I mean all of mine fit in a square of about 252x252, but the height varies drastically (like 19 and 253). Is there anyway to make it say "Make fit in these proportions"? If not, do I need to resize all my images to a certain size so that they're all the same? -Kerry Link to comment Share on other sites More sharing options...
bill110 Posted January 11, 2007 Share Posted January 11, 2007 In the admin section for the large image size set only the maximum width or height and leave the other blank 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 Link to comment Share on other sites More sharing options...
arduncan Posted January 11, 2007 Share Posted January 11, 2007 In the admin section for the large image size set only the maximum width or height and leave the other blank Hi, where is this setting? I can only find small image size settings. I'm having the same problem where my product images proportions are wrong. Link to comment Share on other sites More sharing options...
bill110 Posted January 11, 2007 Share Posted January 11, 2007 You are correct. in the stock osc all you have is small image size. (setting only one of the sizes keeps the images from being squashed when the small image is generated) However my popup images seem to always open to the correct size window no matter the image size. This is the javascript in catalog/product_info.php for the popup: window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le ft=150') make sure that it says resizable=yes and the image size you have should not be a problem 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 Link to comment Share on other sites More sharing options...
nyfael Posted January 12, 2007 Author Share Posted January 12, 2007 Thanks Bill! that worked great, this is off topic but is there something other than stock osc? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.