Jump to content

Auto crop images to fit thumbnails


Recommended Posts

Hi all,

 

I'm looking for a solution to make PS1.5.4.1 automatically crop images to fit thumbnails. I think in the previous versions of PS they used to do that. Since I updated to 1.5 it doesn't work this way no more. It gives white space to the image in order to fit the thumbnail aspect ratio.

 

I found a similar topic here: http://www.bazingadesigns.com/en/blog/tutorials/automatic-images-cropping-in-prestashop-1-5-2

But it doesn't work for me. Mainly I can't locate ImageManager.php under overrides/classes/. I only found the file under /classes/. I edited it and I got a white page after I regenerated all images in the back office.

 

Please help!

 

 

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

This solution needs more details like:
- what is changed in the code vs the original file?
- what is the expected effect?
- what steps are needed for the effects to take place (ex. clear cache, regenerate images, set default settings for image generation etc.)?

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