Title: Remove attachment before import
Last modified: March 31, 2021

---

# Remove attachment before import

 *  Resolved [amc11](https://wordpress.org/support/users/amc11/)
 * (@amc11)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-attachment-before-import/)
 * Hi,
 * I would like to know if there is any way to remove all
    images before adding 
   new attachments? Our filename never changes, so the images do not update correctly.
   If we remove all images first and then reattach them, that would solve our issue.
   I cannot keep images in library because it would grow and add hundred of thousands
   of images over time…
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-attachment-before-import/#post-14261471)
 * Hi [@amc11](https://wordpress.org/support/users/amc11/),
 * Yes, if you disable the “Keep images currently in Media Library” option, WP All
   Import will delete all of the images attached to the post before importing the
   ones from the import record: [https://d.pr/i/Xbcgnm](https://d.pr/i/Xbcgnm).

Viewing 1 replies (of 1 total)

The topic ‘Remove attachment before import’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/remove-attachment-before-import/#post-14261471)
 * Status: resolved