dvharrison Posted April 27, 2008 Posted April 27, 2008 Hi all I am starting to add products onto my ecommerce site, but I anticipate a problem. Basically my images are not going to be consistent in size. The thumbnails are fine but basically the larger images are going to be various sizes. For example the accessories section are all about 200px by 160px and the fancy dress images are all going to be about 200px by 308px Its probably obvious, but can the fixed function be overwritten or am I up a certain creek without a paddle. Any constructive help will be gratefully received. TIA :thumbsup: Debbie Harrison
germ Posted April 27, 2008 Posted April 27, 2008 Try this: Go into your Admin. Click on Configuration. Click on Images. On that page, set either Small Image Width or Small Image Height to blank. By that I mean edit it and set the field to spaces. Don't set it to ZERO. I think if you blank one out, it displays the image at it's true size. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
dvharrison Posted April 28, 2008 Author Posted April 28, 2008 Thanks for that Jim. ;) What about the pop-up window (click to enlarge) can this be controlled in anyway? Debbie Harrison
germ Posted April 28, 2008 Posted April 28, 2008 I suppose you'd alter the little script in the <head> section of product_info.php to acommodate the largest size: function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100, screenX=150,screenY=150,top=150,left=150') } In that, you'd want to alter this part: width=100,height=100 If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.