spooks Posted November 19, 2009 Share Posted November 19, 2009 Simple Multi Image Add-on Plus PrettyPhoto There are many multi image contributions, but I found many have become much too bloated or just didn't fit, so I created this, allowing as many extra product pictures as you want with admin control and fancy lightbox like popups. This is a different varient of my Simple Multi Image Add-on, the only difference to the previous is this uses PrettyPhoto for the popups in place of the Fancybox ones, which offers a different style & some options not available with Fancybox, but then missing some that Fancybox had, I leave it up to you to descide which you prefer. This initial release is in a fairly rough form, fine tuning will come later Features: Its a simple strait forward design, only three files to edit An un-limited number of additional images can be added to any product without modification. Any product can have as many (or few) images as wanted. Additional images can be deleted if needed. PrettyPhoto is used for the image popups, so all product images can be browsed within a single popup. Additional image layout can be modified in admin, selecting a horizontal or vertical layout and the number or images to show per row Additional image size is also set in admin. I recommend this is used with OscThumb for auto thumbnailing & faster load times. As a bonus addition, a function is added in the product edit page to give a instant update option. Images can be placed in subfolders of the images folder at product edit. PrettyPhoto is released under the Creative Commons Attribution 2.5, details and examples can be found here . Tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals off compatible. Quote 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. Link to comment Share on other sites More sharing options...
spooks Posted November 19, 2009 Author Share Posted November 19, 2009 DOWNLOAD The contribution can be download here http://addons.oscommerce.com/info/7121 Enjoy Quote 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. Link to comment Share on other sites More sharing options...
Guest Posted November 20, 2009 Share Posted November 20, 2009 DOWNLOAD The contribution can be download here http://addons.oscommerce.com/info/7121 Enjoy Sir i have installed this contribution and when i try to run the SQL command or upload the SQL file it give me the following error: Error SQL query: ALTER TABLE `products` ADD `products_image_array` blob; MySQL said: Documentation #1146 - Table 'bombayrc_smf1.products' doesn't exist Could you please help me as i really like this contribution. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 20, 2009 Share Posted November 20, 2009 Sorry.... But I solved the issue. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 21, 2009 Share Posted November 21, 2009 I have installed this contribution completely. I am able to upload images from the admin section but on the online store i am not able to see any additional pictures. Can any one please guide me where i might have gone wrong with installation Kindly HELP Quote Link to comment Share on other sites More sharing options...
FISHdude Posted November 21, 2009 Share Posted November 21, 2009 Hello, I have already installed your previous Simple Multi Image Add-on but I like the look of this one more, I was just wondering if I need to uninstall that before I install this one? as I really dont want to break my store, so thought it best to ask first. Thanks Ewan Quote Link to comment Share on other sites More sharing options...
spooks Posted November 21, 2009 Author Share Posted November 21, 2009 Hello, I have already installed your previous Simple Multi Image Add-on but I like the look of this one more, I was just wondering if I need to uninstall that before I install this one? as I really dont want to break my store, so thought it best to ask first. Thanks Ewan No, you don't most of the code is the same, you only need to upload the new files, in product_info.php change the head section to the new, and the code within the div classs = fancy section there is no need to run the sql either. Quote 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. Link to comment Share on other sites More sharing options...
FISHdude Posted November 21, 2009 Share Posted November 21, 2009 No, you don't most of the code is the same, you only need to upload the new files, in product_info.php change the head section to the new, and the code within the div classs = fancy section there is no need to run the sql either. Thanks Spooks, you're awesome! Quote Link to comment Share on other sites More sharing options...
FISHdude Posted November 22, 2009 Share Posted November 22, 2009 Right I have now installed it and it looks good, but a couple of things: I have embeded some youtube movies in some of my product info pagees but this popup, pops up under it, is their anyway you can think of around this? and is it possible to remove the description that is displayed above the popup? Thanks again. Ewan Quote Link to comment Share on other sites More sharing options...
spooks Posted November 22, 2009 Author Share Posted November 22, 2009 Right I have now installed it and it looks good, but a couple of things: I have embeded some youtube movies in some of my product info pagees but this popup, pops up under it, is their anyway you can think of around this? and is it possible to remove the description that is displayed above the popup? Thanks again. Ewan Did you read the faq on z-index? Also in the head section there are some options: showTitle: true, /* true/false */ Set that to false will remove title above. hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */ Set that to true if your movie is flash. Quote 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. Link to comment Share on other sites More sharing options...
FISHdude Posted November 22, 2009 Share Posted November 22, 2009 Sorry, What a numpty I am, Thanks again. Quote Link to comment Share on other sites More sharing options...
treeman Posted November 27, 2009 Share Posted November 27, 2009 Hi, I really like the contribution but I have a problem with it. I am using a dhtml jscook menu and when product_info is opened the menu is all out of shape. Is this due to only 1 instance of jquery being able to run? Is there any way to fix this? This is the dhtml menu I am using http://www.oscommerce.com/community/contributions,2844/category,3/search,jscook Quote Link to comment Share on other sites More sharing options...
spooks Posted November 27, 2009 Author Share Posted November 27, 2009 Hi, I really like the contribution but I have a problem with it. I am using a dhtml jscook menu and when product_info is opened the menu is all out of shape. Is this due to only 1 instance of jquery being able to run? Is there any way to fix this? This is the dhtml menu I am using http://www.oscommerc...y/contributions,2844/category,3/search,jscook Yes, please read the FAQ, the 1st effetivly deals wth this. Quote 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. Link to comment Share on other sites More sharing options...
TwoEyez Posted November 27, 2009 Share Posted November 27, 2009 can you help me with something in this change? Quote Link to comment Share on other sites More sharing options...
TwoEyez Posted November 27, 2009 Share Posted November 27, 2009 Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\wamp\www\catalog\includes\functions\database.php on line 103 with the product_info from the code works good but with product_info that I've changed come with the error abobe any sugestions Quote Link to comment Share on other sites More sharing options...
spooks Posted November 27, 2009 Author Share Posted November 27, 2009 Messed up install !! Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\wamp\www\catalog\includes\functions\database.php on line 103 with the product_info from the code works good but with product_info that I've changed come with the error abobe any sugestions Check your edits again very carefully, you have made errors in the install, try using a file compare tool if you have trouble with the manual method. This add-on has been tested on a variety of server configs, with MS2 to RC2a versions, there are no known flaws, so if you get one then its 99% certain you have made errors. Quote 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. Link to comment Share on other sites More sharing options...
treeman Posted November 28, 2009 Share Posted November 28, 2009 A. PrettyPhoto is jquery based, if you have any other jquery apps on the product info page you must ensure that there is only one instance of jquery, that its version is what's needed for all apps using it and it contains all the calls needed.Jquery is incompatible with mootools, if you have any mootools apps within product info, either they or this will fail (depends what came first). Some bookmarking scripts use mootools. So does this mean the current dhtml menu I am using will never work with your contrib or it is possible to make it work? I just dont want to spend time on something thats not doable, thanx Quote Link to comment Share on other sites More sharing options...
spooks Posted November 28, 2009 Author Share Posted November 28, 2009 (edited) So does this mean the current dhtml menu I am using will never work with your contrib or it is possible to make it work? I just dont want to spend time on something thats not doable, thanx NO, it can work fine, as I said read the FAQ, the solution is there already. As you quoted, you must ensure that there is only one instance of jquery why is that hard for you to do? Edited November 28, 2009 by spooks Quote 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. Link to comment Share on other sites More sharing options...
natashome Posted November 28, 2009 Share Posted November 28, 2009 hi i am having a problem in admin when adding the product image. when i click preview i can't see it and it doesn't appear on the product page as well.. the other additional images are showing in admin but not in product page...any ideas? thanks Quote Link to comment Share on other sites More sharing options...
spooks Posted November 28, 2009 Author Share Posted November 28, 2009 This n that don't work!! Check your edits again very carefully, you have made errors in the install, try using a file compare tool if you have trouble with the manual method. This add-on has been tested on a variety of server configs, with MS2 to RC2a versions, there are no known flaws, so if you get one then its 99% certain you have made errors. Quote 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. Link to comment Share on other sites More sharing options...
halluzineyt Posted November 28, 2009 Share Posted November 28, 2009 My link help .. are these people still alive . i have tried to install your adons.. and it was a success but i but i have 1 problem my product descriptions prices etc are all gone im just testing this out can you help me?? Quote Link to comment Share on other sites More sharing options...
thian Posted November 28, 2009 Share Posted November 28, 2009 ARGHHHHHH LOL.. I have followed this step by step and still get this in my categories section; Also when i try upload multiple images, I cat this on bottom of page; In the code-line 873-879 this is what is there; // Simple multi image addon $i=1;reset($products_image_array); while (list($key, $value) = each($products_image_array)) { echo tep_draw_hidden_field('products_image_' . $i, stripslashes($value)); ++$i; } // EOF Simple multi image addon ------------------------------------------------------------------------------------- Any ideas? Feedback greatly appreciated guys :-) Quote Link to comment Share on other sites More sharing options...
spooks Posted November 29, 2009 Author Share Posted November 29, 2009 Check you edits again very carefully, you have made errors in the install, try using a file compare tool if you have trouble with the manual method. This add-on has been tested on a variety of server configs, with MS2 to RC2a versions, there are no known flaws, so if you get one then its 99% certain you have made errors. Try using the supplied files in place of yours, you don't have to keep it that way, but it will show you that it works. Quote 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. Link to comment Share on other sites More sharing options...
spooks Posted November 29, 2009 Author Share Posted November 29, 2009 My link help .. are these people still alive . i have tried to install your adons.. and it was a success but i but i have 1 problem my product descriptions prices etc are all gone im just testing this out can you help me?? check it all again, with more care!!! Quote 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. Link to comment Share on other sites More sharing options...
halluzineyt Posted November 29, 2009 Share Posted November 29, 2009 hmm can you tel me what software will compare my files? is it FTP? Quote 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.
Note: Your post will require moderator approval before it will be visible.