Thanks for the reply!
I copied the file to another folder, deleted the old duplicate, then used the plugin Add from Server to reimport into WP.
I’ve installed gnucco3’s plugin and I get the following message after activating it:
The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Ran the plugin, but my unattached images remains unattached (imaged imported using Add from Server plugin).
What am I doing wrong?
Thanks! I tried it out and it works.
The odd thing is, a few of the attachments in old posts have the post thumbnails but they’re not in the media library.
But I’ll reimport all to be safe.