Home > Docs > Product Import Export Plugin for WooCommerce > Duplicate Product Images in WordPress Media Library After Import

Duplicate Product Images in WordPress Media Library After Import

Last updated on June 4, 2023

The issue of duplicate images in the media library of the WooCommerce website when importing images from the CSV file.

The reason for this happening is that the Product Import Export Plugin for WooCommerce uses WP Importer. The WP Importer has a 1:1 relationship with the product and its corresponding image. So when you upload an image via CSV, an entry of the image for the product is added to the media library resulting in the duplication of the image. This happens because at the moment there is no way to check whether an entry already exists in the media library. The duplication of an image in the media library is normal and the important thing to keep in mind is that it’s just an entry.

Even if you have multiple images in the media library, the images are not however duplicated on the server this way. The only way the images are duplicated on your server if you use the full URL path of the image. So, to avoid using up too much space on the server, simply use the image name (image.png) instead of the complete image URL in the images column. It will link the product to the image and will result only in the generation of thumbnails.