I was using a plugin, WP Corrector, to import CSV file into content. It allows you to attach images to posts, based on file name. The image shows up in the media gallery when you're in a post edit page. BUT, when you go to the media library, the image does not have any posts attached to it. I need to re-attach it for it to work. Not sure how thats working one way like that.
The problem, I can't use functions associated with attachments to display the image, check if attachment is present, etc.
Is there any way to fix this? Maybe through SQL query?
Any help would be greatly appreciated.