Trying to re-upload images using an importer but it's still detecting images that have been deleted

I used a wordpress plugin to download post images into my uploads folder.

It didn't work as expected the first time so I deleted my images.

Using it again it still detects images that are no longer in my uploads folder but still must be associated with my post somehow.

I've cleaned up my wp_postmeta but it's detecting these images, I'm not sure which other tables they would be in.

I am not very mysql savvy, but is there a query I could run comparing my uploads library with whichever table column is holding this image data?

Or something that detects orphaned image links, links without an actual image?

Solutions

Use a plugin such as search and replace to first do a find on the image name. It will check against the database to find all instances of whatever the image name is.

Link to plugin: http://wordpress.org/plugins/search-and-replace/

Tags: PHP / Mysql / Wordpress

Similar questions

I enabled debugging but I still get the same message: There has been a critical error on your website
I have changed the config setting to enable debugging as follows; When I refresh the page I still get he unhelpful message: How can I get it to spilt its guts on the screen and show the actual error?
How to restore deleted post related with deleted users
I accidentally deleted post that related to certain users in wordpress because I deleted user. How can I restore those posts? Thank you!
Site shows URL instead of "meta title" after deleted few plugins (not any SEO plugin was deleted)
www.Pifeed.net after i deleted some useless plugins due to load-time issues the blog pages show url instead of title tag, though meta title tag is there in source code.. thanks for answers
Wordpress CSV Importer Plugin, Import file from url instead of upload file from pc
The wordpress plugin csv importer http://wordpress.org/extend/plugins/csv-importer/ works great for importing posts from csv. The plugin only supports browse file option to upload file from local pc while I want to upload file from file url. Is this possible? Can someone edit the plugin code so that it supports upload file from file url? Thanks,
Wordpress Importer showing blank page after clicking the Upload File and Import button
I have been trying to import an .xml file from my old WordPress to a new one. I have the following settings in php.ini: But when I click on the Upload File and Import button Im getting a blank page. No errors or anything. Anyone has any idea how to solve this? Thanks. UPDATE: After turning on the error display which was suggested below I was able t...
Cannot upload product image via woocommerce importer
I am planning to upload product CSV to woocommerce. But in the current stage, after I add multiple image urls in the images column. The product image cannot update properly. Only the first url successfully uploaded. The rest cannot upload forever. my csv file for images enter image description here

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.