anson.c Posted December 31, 2013 Share Posted December 31, 2013 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 More sharing options...
anson.c Posted January 2, 2014 Author Share Posted January 2, 2014 anyone please? Link to comment Share on other sites More sharing options...
Aminta Posted February 9, 2015 Share Posted February 9, 2015 Hi, here's the function adapted for PS 1.6, replace all the code in "classes/ImageManager.php" http://pastebin.com/3Hsk9s1e 1 Link to comment Share on other sites More sharing options...
Attrexx Posted January 3, 2017 Share Posted January 3, 2017 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 More sharing options...
Attrexx Posted January 3, 2017 Share Posted January 3, 2017 Replaced code in suggested file. No effects. Nuff said. 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