Home > Docs > Duplicate Product Images in WordPress Media Library After Import

Duplicate Product Images in WordPress Media Library After Import

Last updated on February 7, 2025

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

This is happening because 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 image entry for the product is added to the media library, duplicating 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 standard, and the vital thing to remember is that it’s just an entry.

Even if you have multiple images in the media library, the images are not duplicated on the server this way. The only way the images are reproduced on your server is if you use the full URL path of the image. So, to avoid using up too much space on the server, 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 result only in thumbnail generation.