Jump to content

How did they do that? JQuery?


Recommended Posts

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

  • 2 months later...

Hi rocky
I 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...