DejaVu Posted June 23, 2010 Share Posted June 23, 2010 Found this site whilst surfing the net for no real reason whatsoever and wondered how the hell they managed this 'image popout'.It must be a JQuery script and I was wondering if it could be/or has been incorporated into Prestashop.http://www.vapeworld.com/the-predator-vaporizerDouble click the image, then drag it about. I'm impressed. Link to comment Share on other sites More sharing options...
rocky Posted June 24, 2010 Share Posted June 24, 2010 I had it look at the code and it isn't done with jQuery. It appears to have been done with Scriptaculous, which isn't available in PrestaShop. It looks good, but I don't think it would work well with PrestaShop since the images have a white background rather than a transparent background like on that site. Link to comment Share on other sites More sharing options...
maofree Posted September 18, 2010 Share Posted September 18, 2010 Hi rockyI looked in js's directory there are prototype.js (version 1.5) and scriptaculous.js (version 1.6.1). I want to made a module for another image viewer like lightbox and the script, that I found, needs prototype.js (version 1.6.1) and scriptaculous.js (version 1.8.1). I replaced the last files in prestashop 1.3.1 and everything is ok, but I don't know where those files are needed.Do you know where they files are required by prestashop?Thanks Link to comment Share on other sites More sharing options...
rocky Posted September 19, 2010 Share Posted September 19, 2010 I didn't notice those files before. It seems that admin/tabs/AdminImageResize.php, PrestaShop's manual thumbnail generator, uses prototype. Change "thumbnail regeneration method" to "manual" on the "2. Images" tab of the product editor and then upload an image to access the manual thumbnail resizer. Link to comment Share on other sites More sharing options...
maofree Posted September 19, 2010 Share Posted September 19, 2010 Thanks rockyI'll add url's prototype e scriptaculous in product.tpl, without any conflit to others scriptbye Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now