nyrescue Posted May 14, 2009 Posted May 14, 2009 Hey all! When u click the enlarge picture and the popup flashes, well the image is cut off meaning the popup does not show the whole image. How do i resize this to show the whole shirt?
web-project Posted May 14, 2009 Posted May 14, 2009 simply modify the javascript in product_info.php file, or simply replace to your own javascript. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
nyrescue Posted May 14, 2009 Author Posted May 14, 2009 Sorry I'm new to all this and just got the site up 2 days ago...where do I find this and what do I change?
germ Posted May 15, 2009 Posted May 15, 2009 /catalog/popup_image.php Look for this code in the <head> section: function resize() { if (navigator.appName == 'Netscape') i=40; if (document.images[0]) window.resizeTo(document.images[0].width +[b][color="#FF0000"][size=3]30[/size][/color][/b], document.images[0].height+[b][color="#FF0000"][size=3]60[/size][/color][/b]-i); self.focus(); } Just change the numbers in RED to make the popup larger (horizontally[width], vertically[height] or both) (I think :blush: ) 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 >
nyrescue Posted May 15, 2009 Author Posted May 15, 2009 This did not do the trick...I can understand while you cant scroll through the box to look at the image. There a few popup.php's.
germ Posted May 15, 2009 Posted May 15, 2009 Gee... :blush: I just tried it and it works for me.... :huh: 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 >
spooks Posted May 15, 2009 Posted May 15, 2009 try Improved Image pop ups http://addons.oscommerce.com/info/5787 Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
CutieCute2 Posted June 2, 2009 Posted June 2, 2009 /catalog/popup_image.php Look for this code in the <head> section: Just change the numbers in RED to make the popup larger (horizontally[width], vertically[height] or both) (I think :blush: ) Worked for me too. Thanks. PS=Change the postion of the window in product_info.php (search for left and top around line 30)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.