This plugin hasnt been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

DNUI

Description

Now the plugin can be translated, please help me to do it

DNUI (Delete Not Used Image) will search images from the database and try to find it on every Post and Page, if one image has one reference in this either post or page, the plugin will tell you that the image is used.

The version 2.0 is one big remake of this plugin, all the code have changed, now the code work by Rest Service and use AngularJS (not more the BackboneJS)

The update from the 1.x to the 2.0 is automatic, the only problem is that you will lost the backup folder and all backups made from the version 1.x

The plugin was fully test it with WordPress 4.3/4.4.1 and PHP 5.3/5.4/5.6

This plugin use:

AngularJS 1.4.8 core, resource and animate

Angular UI

Bootstrap

This version can search if the image is used at:

Excerpt (reference image or shortcode)

Publish Post/Page (reference image or shortcode)

Draft/Revesion Post/Page (reference image or shortcode)

Shortcodes (include gallery)

Translation:

Spanish

You can found the DNUI PRO VERSION if you need more useful features, like compatibility with WooCommerce

If you need search all type of file or search from you upload folder try CUF

Installation

Download this plugin direct from the page of plugin in your wordpress site.

The hard way :

Download the zip.

Connect to your server and upload the DNUI folder to your /wp-content/plugins/ directory

Activate the plugin using the Plugins menu in WordPress

FAQ

Installation Instructions

The easy way :

Download this plugin direct from the page of plugin in your wordpress site.

The hard way :

Download the zip.

Connect to your server and upload the DNUI folder to your /wp-content/plugins/ directory

Activate the plugin using the Plugins menu in WordPress

Why i have to do Backup?

This plugin will delete images and information’s in your server and the database, so you have to do one BACKUP every time you want
to use this plugin.

Is the backup system from the DNUI plugin enough?

Yes and no, if you have the backup option active, the plugin will try to do one backup of the image you are try to delete, but this is not the main purpose of the DNUI plugin, so is not bull proof
In the WordPress.org plugin page you can find a lots of Backup Plugin, so the will have better code for make Backup’s

Is really not used / unused?

Yes and not, the not used label, tell you that the imageName.imageType (toto.jpg) is not found in any Post/Page/Shortcode
So if you have another plugin, for example ‘E-commerce X’ that use the toto.jpg in one HTML code, the
DNUI plugin can’t work finding any reference, so you will have one false ‘not used’ label

How to fix the false ‘not used’ label?

This question can be hard to answer
I build this plugin for help you to fix this problem, you have somes options:

Use the Ignore Size Option, you can select one or more options (use Ctrl+Click) to ignore the size’s

You can dev your own ChekkerImage[Plugin].php code, and add this to CheckersDNUI (you can send me the code and i will put this in the Free version)

Ask me to do it this plugin compatible with the X Plugin (Only for Pro version)

Where i can found the version pro?

You can found it at https://apps.nicearma.com

Fetching server… all time

I really don’t know why some of you have this problem, try to reset the options at the option tab, and if the problem continue make a Support Threads at wordpress.org

How to test the plugin in my page

Add one post.

Upload n images to this post.

Add different sizes and see if the plugin DNUI is taking the good original/sizes used or not.

See if other plugin is using other sizes that the plugin DNUI is thinking that aren’t used and adapt the ignore size list.

Delete some not used image and see if the post/theme/page/other plugin is working|showing like he have to do.

Try to adapt the DNUI option for make the plugin work fine with all plugin(TIP: USE THE IGNORE SIZE)

Make your own crazy test (changing the DNUI option) for see what happen.

Begin the delete part with the backup option checked (But is better if you use other backup plugin just in case)

This will take you 15 min but you will see if all is OK or not

Reviews

Dont use it. Because this will delete your thumbnails. its check only images which is used in post content, not in _thumbnail. i use this plugin because i need to clean up disk space. i have over 11 thousand posts. over 6 thousand post i recently delete. so i need to delete all these images which was used on these 6 thousand post. its over 4 GB in size. so i could not take a backup. unfortunately all gone. all these 11 thousand posts now useless without thumbnail. so its totally mess for me. my work over months are wasted just for this fucking plugin.

as advertised. Be careful, though, to examine the “Options” tab and choose to keep the original images, before proceed to deletion. Currently working on 6th page of 400++ pages of 8313 original image, and feel confident to continue.

I use the free version and all the images (except a few) are WordPress’ core featured images.

Some suggestions:

– under the “Options” tab, _ Show section, probably better use checkbox than dropdown select, with Original images are checked as the default. This is a safety procedure for some people who don’t bother to read carefully the warning.

– All checkboxes under Check All this checks can decrease performance section needs to be unchecked by default, again for the sake of people who don’t bother to read carefully the warning. In my case, I unchecked all these because I don’t have –or can bear with — images excerpt, post meta, galleries, etc, also not to bring too much load to the server (like other similar plugins do).