Rating 0 stars - 0 votes

Batch Remove Magento Images

Magento is designed for stores with huge data-sets, so naturally, there is also included a huge range of Magento images.

Magento itself works in the way, that when you perform Magento image upload, they are placed to media/catalog/product in 2 subfolders that are created automatically on the basis of image names. At some point of time, there will be the need to clear some images massively.

The reasons can be multiple. There may be the situations when images were duplicated. Also you might have removed some products and have left their images at your FTP. Basically, those are unused images and they only occupy your website server's disk space that affects site speed.

In case you are not familiar with coding and do not want to take risks, modifying files of your shopping cart, you may consider performing the task using Store Manager for Magento tool. With the application you can massively remove images without special technical experience and without any worries that the procedure can break your site.

As was mentioned above, you may need to remove images from some products or delete pictures that are not assigned to any goods and are stored at your server. Let’s view each of them in more details.

Remove Images From Particular Products

Instead of switching between products and deleting images for each of them by hand, you can automate this process and batch clear Image Gallery. For that you need to filter out the goods for which you need to remove images, then run Export Wizard of Store Manager application and export only 1 field - SKU. You might ask, “Why only one? And why it is SKU, but not the field for images?”. The answer is simple, we need identifier only, so there is no need to overload the process with additional fields. Next, we run Import Wizard and use the file you’ve just exported (with SKU field only) and select checkboxes “Import Images” and “Clear Gallery”. You can tick option to remove images from FTP as well.

Remember that you run import not to perform Magento image upload, but to implement changes, so at the last step of procedure, select checkbox “Modify only”. After you finish-up the procedure, can check results. Now you can add new images to your products, the correct ones.

Delete Unused Magento Images from Your Server

Images which are not linked to any products are harder to detect, but sometimes to remove them becomes a critical task, especially in case there is FTP quote. In this situation, built-in Store Diagnostics tool of Store Manager will help you out. Using it, you can make check-up and examine whether you have images that are not assigned to any of the items.

Select the checkbox that corresponds to selected type of diagnostics and run the process. Eventually, you will get the list of pictures that are not used for any products at your database and can remove them directly from this window.

If you have a lot of images to deal with, Store Manager for Magento is the best solution that doesn’t require many efforts.

Read more on Magento images upload here:


Try FREE Store Manager for Magento tool - new experience in store management! Get it Now!

Be the first to comment.