Ready to get started?Download WordPress


Image Cleanup
Please help me improve the plugin (8 posts)

  1. opicron
    Plugin Author

    Posted 9 months ago #

    As the title states I would like to ask you all to please help me improve the plugin.

    Most important feedback: is the plugin is working for your wordpress setup?

    Looking forward to your friendly replies!


  2. 10sexyapples
    Posted 6 months ago #

    Hi there … just wanted to report back to you that I installed your code and it basically marked all images ( over 2800 ) on my site as unreferenced/unused … heh … I was in a hurry but moved all 29 pages of them ( would be really great to be able to batch process more than what is on one page at a time currently ) … only to find that all of my images were gone … even my featured images in regular post excerpts … and had to quickly go back through and restore them all. Thank you so much for having the restore feature … although on one of the 29 pages, when I hit apply for whatever reason, it would not change to restored, just the check mark showed … very odd indeed.
    I'd be happy to answer any questions you may have about my setup if it would help to determine why this is. I use custom built meta boxes and roll my own custom post types etc., and build upon the roots theme~
    Would be fantastic to have this code work in my setup~

  3. opicron
    Plugin Author

    Posted 6 months ago #

    I would love to make the plugin work on your setup. Would it be possibile to get access to your admin area (and ftp)?

    Then I can isolate the problem and improve the plugin a lot.

    Please email me at opicron at gmail com.

    PS: There is a batch move/restore function in the [general] tab.

  4. opicron
    Plugin Author

    Posted 6 months ago #

    For starters. Could you please zip the complete log folder (/imagecleanup/0/logs/*.*) and send me it by email?

    Only send the logs after an successful index please. These logs will definately tell me a lot more.

  5. joshua.c.j
    Posted 4 months ago #

    Hey Robert,

    I can't find the tools for selecting more than one page of images. As it's located 3900 unreferenced unused images, that means I have to go through 39 pages and bulk delete each one.

    Perhaps this is a bug - or perhaps I'm just being thick? I'm using WP 3.5.1.

    In either case, a simple user's guide would be really welcome.

    Thanks for all your hard work, and for finding 3,900 unused images for me. You're a star :)


  6. Daniel
    Posted 2 months ago #


    I didn't find it either at first, but if you go to Dashboard > Tools > Images Cleanup and hover over the index list item at the bottom of the page, you will see options to move/restore/delete all.


    Great plugin that -almost- works with my setup. My posts have images that are uploaded to the media library and then associated with the post through custom fields (not actually inserted into the post). The plugin seems to recognize them as "Unreferenced Unused Images". Any way a check for this could be added?

  7. Geet Jacobs
    Posted 1 month ago #

    As Daniel mentioned, I have a similar issue.

    I use ACF, which has image upload/file upload and gallery options. Obviously these are stored in custom fields either with a single custom field and an image ID from the attachment post table or with a serialized array of image IDs.

    Likely tough to support all plugins that use custom upload fields, but maybe worth considering the few top ones like Pods, ACF.

  8. opicron
    Plugin Author

    Posted 4 weeks ago #

    Daniel/Jacobs, good find. I will dig into that.


You must log in to post.

About this Plugin

About this Topic


No tags yet.