In the process of performing Magento image upload, the pictures are placed to media/catalog/product in 2 subfolders that are created automatically on the basis of image names. At some point of time, these folders might become overburdened with images there are not still necessary.
The reasons can be various: maybe some images were duplicated, or maybe after removing some products, their images were left at your FTP. Basically, those are unused images and they only occupy your server's disk space decreasing the site speed.
In case you are not familiar with coding and do not want to take risks modifying some important Magento files, you may consider using Store Manager for Magento tool. With this application you can massively remove images with no tech skills and in a reliable way.
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.
Instead of switching between products and deleting their images by hand, you can automate this process and batch clear Magento 2 Image Gallery with Store Manager. For that, do the following:
You might ask, "Why only one? And why is it SKU?". The thing is that Store Manager needs a product identifier to know which products have unused pictures. No additional data is required for such procedure. Such benefit will make the process super-fast.
If the purpose of Magento 2 images import is only to update data (remove the images in our case), make sure to tick the 'Modify only' box at the last step of wizard.
Now when the image gallery of selected products is cleared, you can start adding new pictures.
Images not linked to any products are harder to detect, but sometimes removing them becomes a critical task, especially in case there is FTP quote. In this case, 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:
How to Import Magento 2 Images with Store ManagerFind out how to exclude particular images from Magetno gallery, so they will not be displayed on the product page. Read More...
Full guidance on images import (local and remte images) and CSV import file sample. Read More...
Detailed guides on how to import images from URLs including the list of required CSV columns. Read More...
Get the full explanation of Magento swatch images and their purpuses and find out the ways to assign them to products via admin and Store Manager. Read More...
This website uses cookies.