gray Posted February 20, 2022 Share Posted February 20, 2022 Regen images takes to long, and server times out. Any idea how to get over this problem, i have tried different browsers, cleared caches etc etc. Is there a way of regen images and erase previous images quickly ?? Link to comment Share on other sites More sharing options...
Paul C Posted February 20, 2022 Share Posted February 20, 2022 You can just run again with "Erase previous images" set to no to finish the rest? I assume you're selecting just the product images and not "all"? Link to comment Share on other sites More sharing options...
SmartDataSoft Posted February 21, 2022 Share Posted February 21, 2022 @gray Which PrestaShop version you are using what is you php version. Thank you Link to comment Share on other sites More sharing options...
gray Posted February 21, 2022 Author Share Posted February 21, 2022 Hi ya - PHP 7.3 and PS 1.7.8.2 Tried the "Erase previous images" set to no, and it does not delete any old images. It only adds the ones that are missing. As I am changing over to a different theme, which uses different image ratios, all old images must be deleted/erased. So I started doing each image formats, which started well with cart_default. But now I am onto home_default and it does nothing, and its been running 15mins. Link to comment Share on other sites More sharing options...
Paul C Posted February 21, 2022 Share Posted February 21, 2022 That one will take a while as it needs to go through every product. I thought there was a symphony console command for it but there doesn't appear to be. I'm going to need to do this in the near future and would rather it worked on the client's server so maybe need to look at building a command-line tool, unless there's one already freely available.... Do you have ssh access to the server? Link to comment Share on other sites More sharing options...
gray Posted February 21, 2022 Author Share Posted February 21, 2022 What length of time would you reckon for say regen 1500 images, as I have that many products. 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