Jump to content

Deleting duplicated images


tumil

Recommended Posts

Selecting the pictures may not be that difficult. If every product has only one picture you could for example select all pictures in ps_image that have the cover field set to zero. If the error happened at a certain time you could select all images with image id's between two figures.

 

However, this cannot be a simple database operation as the images are in several tables and you need also to delete the image files on your disk. So you will need to use Prestashop functions. But I am not sure how that would work exactly.

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