Delete and update not used image and database
(Please give me some feedback, recommendation, comments because i don't know if all work fine or you want something more)
DNUI will help you to identify all image not used in your wordpress post and page, and give you the option to delete them, this will delete the image from the server and update the database so that the image is no longer shown when making a post, because the problem of wordpress is, if you upload one image, wordpress can make 4 image from the same file, so this plugin help you to identify all them and delete the image what you want.
This plugin make a scan of your database and find all the files you never used in a post, for defaul you are going to scan 25 files for each time(please be careful if you change this number, a big number going to take down the server),for example you are going to see 25 files parents(the original image) and maybe for every parent 4 sons(the image made aaaxbbb)
Please make sure before you use this plugin see the tutorial at Tutorial DNUI
The search code uses the rule that the post should be referred to the desired image, so if nicearma.jpg image is not on any post, this picture is taken as not used, so the plugin will allow you to delete the image, otherwise it will not let you delete the image, since the box will be disabled.
Note: If your wordpress site does not use this rule you might see pictures with the option to erase, therefore follows the recommendation 2
Note:For the moment you only can choose the sons if this image was not used in older post (i'm working on the option of delete the fathers to)
** New : Now you can delete the father to, this plugin use the fuction wp_delete_attachment for that task**