tumil Posted July 8, 2016 Share Posted July 8, 2016 Hi. Something went wrong some day on my store and now some products have duplicated images. Is there a quick way to delet all duplicated images at once? Link to comment Share on other sites More sharing options...
musicmaster Posted July 8, 2016 Share Posted July 8, 2016 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 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