mc12345678:
So, there is an image plugin that is intended to identify a discrepancy of image with product and I guess allow deletion from the tool or matching with a product, whichever the case. I believe that would help with the additional images files.
As to deletion of products to make file storage space, well the two aren't quite directly linked that way. The image part, okay, get that. But the content seen by customers/entered to describe the product is not really taking disk space like you may be thinking about as its all in the database.
As to performing bulk action on the database, there's EasyPopulate V4 which could be used to 1) identify the path to the primary image for the product 2) delete the product following standard ZC product deletion process, 3) with the information about the image could perform further actions/investigation into what images need to be removed.
Be sure though that if you decide to go down the product deletion path that you will still have a good way for visitors that did have a link to the now deactivated product to be handled when the product no longer exists in the database.
Dear mc12345678, thanks for replying to my query.
I understand well that the product description does not take much space on the server. But I have around 3 or 4 images per each product and the images are of 1MB size approximately each. So, it is taking big space. I could not find any plugin which can delete the additional images for multiple products. If there is any plugin which can delete just the additional images only and keep the main image intact, that will be the best option for me. I will in that case may not delete the old products and will be able to make some space on the server.
Deleting the additional images through cpanel file manager one by one is very time taking process. So, I was thinking of some easier way of doing this collectively for multiple products.
I hope to receive a helpful reply.
Many thanks.