Jump to content

Problem with product listing images


Cafe

Recommended Posts

Is there any way to recover or recreate the small images that appear in the product listings, with a script or a module? We accidentally deleted them from the temp directory and would like them to appear again. It is impossible to go one by one since there are more than 10,000 products and they are important to us to quickly locate the product.

Link to comment
Share on other sites

So the one that has been deleted is the original, I just saw it... wanna cry! I have seen that I can obtain the original in each directory with just the ID, without anything else. Could there be a script that will remake it using the larger photo in the directories where the original does not exist?

Edited by Cafe (see edit history)
Link to comment
Share on other sites

I have created a script that looks for the original image in each image directory and if it does not find it, it uses by default the largest image in the directory (large_default) and copies it, renaming it as the original and it seems to have worked in a server that I have as a test since I see the images of the listings regenerated.

Edited by Cafe (see edit history)
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...