Jump to content
thirty bees forum

image resize bipass hack - code from Sunnytoo themes


Recommended Posts

I sumbled about this interesting post on Sunnytoo's website. It is about 'Prestashop's way of handling image upload and compressing the 'original' image:


If you are using our Imagemagick module or WebP module, then not need to apply the fix, because those two modules have the fix included.

Add this code to the resize function in the \classes\ImageManager.php file.



I wonder if Thirtybee user shoud add the code linked on that page, too?

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...