Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
CO: remove file 'fileType' when deleting images #8770
This PR is related to #10210 issue. Can anyone from the prestashop team add this in the Fixed ticket? line of the table of this PR ?
@marionf Please, reopen this
@sarahdib Step to test is pretty simple. Create a product, add an image to the product. Get the id of the image associated to the product and then delete the image. Check that the directory containing the images/thumbs is removed after removing the image.
For example, if the image have the ID 12070, pictures/thumbnail etc. will be located in
Without this fix, when the image 12070 is deleted, all pictures/thumbnail from