Support » Plugin: Imsanity » [Plugin: Imsanity] Search images: Doesnt find correct images in uploads folder

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jason


    Hi, Imsanity reads from the wp_content database table of WordPress which contains a record for all each file upload – it doesn’t scan the filesystem. So if you perhaps moved the location of WordPress or something like that it’s possible the images are no longer in the expected location..?

    Thanks for getting back to me. The process i went through was:

    1) Backed up all original images in the uploads folder from server to local.

    2) Delete all server side images (in the uploads folder) via FTP (i had scaled to the wrong size so needed the originals back up).

    3) Reuploaded the original images.

    Would this most likely have been a permissions issue? Or something else? The directory structure was not changed or any other changes made to the backup, so figured there wouldn’t be a problem.

    In the end, i manually uploaded all images again as a fix, but would be good to have an idea of how to deal with this issue if i face it again.


    Plugin Contributor Jason


    Your explanation sounds logical but I don’t think it’s an imsanity issue. Imsanity is revealing some type of discrepancy with what is in your WP database and what is actually on the disk. Whether that is due to moving files around or something, I can’t really tell from the information you’ve given me.

    I think to troubleshoot what I would do is to locate one specific problem image instead of working with the whole batch. Find one image in the WP database and take a deep look at the filesystem paths and see what was going on. The WP attachment table actually pretty simple.

    I never rule out the possibility of a bug in my code, but so far it sounds more like a path issue on the server.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Imsanity] Search images: Doesnt find correct images in uploads folder’ is closed to new replies.