Title: PCIO VIS Media Files
Author: Niels Olsen
Published: <strong>November 25, 2026</strong>
Last modified: November 25, 2026

---

Search plugins

![](https://ps.w.org/pcio-vis-media-files/assets/banner-772x250.png?rev=3823422)

![](https://ps.w.org/pcio-vis-media-files/assets/icon-256x256.png?rev=3823422)

# PCIO VIS Media Files

 By [Niels Olsen](https://profiles.wordpress.org/pcio/)

[Download](https://downloads.wordpress.org/plugin/pcio-vis-media-files.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/pcio-vis-media-files/#description)
 * [Reviews](https://wordpress.org/plugins/pcio-vis-media-files/#reviews)
 *  [Installation](https://wordpress.org/plugins/pcio-vis-media-files/#installation)
 * [Development](https://wordpress.org/plugins/pcio-vis-media-files/#developers)

 [Support](https://wordpress.org/support/plugin/pcio-vis-media-files/)

## Description

PCIO VIS Media Files is an extension for PCIO VIS Member Event. It adds a **Vis  
Media Files** screen with three lists:

#### Used media

 * **Scan site** walks published pages, posts and public custom post types and records
   local media URLs found in content, inline styles, srcset attributes and featured
   images.
 * The site logo and site icon are included.
 * External media links are not added to the list; they are recorded as warnings
   in the scan log.
 * Rows can be added, edited and deleted by hand.

#### Vis events & documents

 * Lists every WordPress attachment referenced by the Vis events table (`image_id`,`
   thumb_image_id`) and the documents table (`wp_attachment_id`), with a link to
   each attachment.

#### Unused uploads

 * Lists Media Library attachments and orphan files in the uploads folder that neither
   of the first two lists references.
 * Paginated (250 files per page); Select all selects only the files on the current
   page.
 * **Move to Used media** records the selected files in the used inventory (so they
   leave this list and appear under Used media).
 * Select files and delete them permanently. Attachments are removed with `wp_delete_attachment()`(
   including generated sizes); orphan files are removed from disk.
 * Both actions re-validate the selection against a fresh scan; all paths are confined
   to the uploads folder.

#### Scan log

 * Shows scan results newest first. External media links and other issues are highlighted
   as warnings/errors.

## Screenshots

[⌊Under WP Admin Vis menu, you find the Media files link. Here you can see unused
files and delete them.⌉⌊Under WP Admin Vis menu, you find the Media files link. 
Here you can see unused files and delete them.⌉[

Under WP Admin Vis menu, you find the Media files link. Here you can see unused 
files and delete them.

## Installation

 1. Upload the `pcio-vis-media-files` directory to `/wp-content/plugins/`.
 2. Activate the plugin in **Plugins**. PCIO VIS Member Event must be active.
 3. Open **Vis  Media Files**.

The plugin creates two tables (`me_media_files`, `me_media_scan_log`). The screen
uses the core Vis settings capability (`vis_manage_settings`), the same capability
that gates the other Vis settings pages.

## FAQ

### Does scanning delete anything?

No. Scanning only rebuilds the inventory and the scan log. Deleting files is a separate,
explicit action in the Unused uploads list.

### Why is a file I know is in use listed as unused?

The scan reads published site content and the Vis tables. Media referenced only 
by theme settings, widgets, custom CSS or third-party plugin data may not be discovered.
Review the list before deleting; the selection is re-checked against a fresh scan.

### Are external images downloaded?

No. External media links are only reported in the scan log as warnings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“PCIO VIS Media Files” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Niels Olsen ](https://profiles.wordpress.org/pcio/)

[Translate “PCIO VIS Media Files” into your language.](https://translate.wordpress.org/projects/wp-plugins/pcio-vis-media-files)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/pcio-vis-media-files/),
check out the [SVN repository](https://plugins.svn.wordpress.org/pcio-vis-media-files/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/pcio-vis-media-files/)
by [RSS](https://plugins.trac.wordpress.org/log/pcio-vis-media-files/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release: site media scan, used-media CRUD, Vis events/documents media
   list, unused uploads cleaner and scan log.

## Meta

 *  Version **1.0.0**
 *  Last updated **3 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.2**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [clean-up](https://wordpress.org/plugins/tags/clean-up/)[files](https://wordpress.org/plugins/tags/files/)
   [media](https://wordpress.org/plugins/tags/media/)[uploads](https://wordpress.org/plugins/tags/uploads/)
 *  [Advanced View](https://wordpress.org/plugins/pcio-vis-media-files/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/pcio-vis-media-files/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pcio-vis-media-files/reviews/)

## Contributors

 *   [ Niels Olsen ](https://profiles.wordpress.org/pcio/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/pcio-vis-media-files/)