Skip to content
Sign in

Virtual Media Folders

Virtual folder organization and intelligent management for the WordPress Media Library, without altering file locations on disk.

Not scanned yet WordPress plugin 300 installs

Install in

No install steps yet

Follow the steps on the source page.

Virtual Media Folders brings virtual folder organization to your WordPress Media Library. Organize your media files into hierarchical folders without moving files on disk—folders are virtual, so your URLs never change.

Features

  • Virtual Folders – Create hierarchical folder structures to organize media
  • Drag & Drop – Easily move media between folders with drag and drop
  • Sticky Sidebar – Folder navigation stays visible while scrolling through media
  • Gutenberg Integration – Filter media by folder directly in the block editor
  • Bulk Actions – Move multiple media items at once
  • Keyboard Accessible – Full keyboard navigation support
  • Internationalized – Ready for translation (Norwegian Bokmål included)

Free add-ons

Add-On Manager lets you easily install and manage add-ons that extend Virtual Media Folders with powerful new features:

  • AI Ability – Registers MCP tools for AI agents via the WordPress Abilities API.
  • AI Organizer – Uses vision-capable AI models to analyze actual image content and automatically organize your media library into virtual folders. This is add-on functionality requiring an API key from a supported AI service provider, or a local LLM.
  • Editorial Workflow – Role-based folder access, move restrictions, and Inbox workflow.
  • Folder Exporter – Export folders (or subtrees) as ZIP archives with optional CSV manifests.
  • Media Cleanup – Tools to identify and clean up unused or duplicate media files.
  • Migrate – Migrate folder structures from other media folder plugins to Virtual Media Folders.
  • Rules Engine – Rule-based automatic folder assignment for media uploads, based on metadata, file type, EXIF or IPTC data.
  • Search – Fast, typo-tolerant search for the WordPress Media Library, powered by the Loupe Search engine.

How It Works

Virtual Media Folders uses a custom taxonomy to assign media to folders. This means:

  • Your media files stay exactly where they are on the server
  • URLs never change when you reorganize
  • Folders can be nested to create hierarchies

Usage

Organizing Media

  1. Go to Media > Library
  2. Click the folder icon to show the sidebar
  3. Use + to create folders
  4. Drag media onto folders to organize / Bulk select media and use the “Move to Folder” action
  5. Click a folder to filter the view

Settings

Go to Media > Folder Settings to configure:

  • Show “All Media” – Display “All Media” option in sidebar
  • Show “Uncategorized” – Display folder for unassigned media
  • Jump to folder after move – Navigate to target folder after moving
  • Default folder for uploads – Auto-assign new uploads to a folder

Block Editor

When inserting media from a block (Image, Gallery, etc.):

  1. Open the Media Library modal
  2. Use the folder sidebar to filter
  3. Select your media as usual

Documentation

Privacy Policy

Virtual Media Folders does not:

  • Track users
  • Send data to external servers
  • Use cookies
  • Collect any personal information

All data is stored locally in your WordPress database.

Written by Joobi from the project's own listing. See the source page

AIfoldersmediamedia libraryorganization
26 Nov 2026
Version 2.3.0 released. Not scanned yet.

2.3.0

  • Added: vmfo_folder_counts filter so multilingual integrations can show per-language folder counts (props @jonathan-dejong).
  • Added: vmfo_folder_query_suppress_filters filter to keep SQL clause filters, such as WPML’s language filter, active in folder views (props @jonathan-dejong).
  • Fixed: Folders are marked as not translatable for WPML and Polylang via wpml-config.xml (props @jonathan-dejong).

2.2.1

  • Added: Classic WordPress 6.8–6.9 fallbacks for six more design tokens used by the add-ons, so success/error badges, notices and progress tracks match the classic admin palette.

2.2.0

  • Changed: Styles use WordPress Design System (--wpds-*) tokens, so the UI follows WordPress 7.0+ styling automatically; WordPress 6.8–6.9 gets a bundled fallback with the classic admin palette.
  • Changed: Accent colors follow the admin color scheme on all supported WordPress versions.
  • Changed: More readable warning text in the add-on UI; editor modal folder header matches the Media Library sidebar.
  • Removed: Separate WordPress 7 admin/editor override stylesheets.
  • Developer: New vmfo-tokens style handle (dependency for stylesheets using --wpds-* tokens) and npm run lint:tokens check.

2.1.5

  • Added: Block inserter “Media” tab now lists your top-level virtual folders as image sources, so you can insert images straight from a folder alongside Images and Openverse.
  • Added: “Block Inserter Folders” setting (VMF Settings General, on by default) to enable or disable the feature.
  • Performance: Folder media categories skip the block editor’s per-category emptiness probe — opening the Media tab makes no requests until you open a specific folder.

2.1.4

  • Fixed: Folder sidebar layout in the block editor media modal on WordPress 7.1 (grid no longer overlaps the sidebar; works on 7.0–7.1).

2.1.3

  • Security: Resolved Dependabot alerts by updating build/test dependencies (npm audit fix, @wordpress/scripts 31 32). All production/runtime dependencies are clean.
  • Changed: Added grouped .github/dependabot.yml config (npm/composer/github-actions) to consolidate future dependency update PRs.

2.1.2

  • Changed: Renamed “Folder Settings” menu to “VMF Settings” for consistency.
  • Changed: Moved VMF Settings menu to bottom of Media submenu.

2.1.1

  • Fixed: Gallery block edit modal now preserves selected images by skipping VMFO sidebar injection in the gallery-edit state.
  • Fixed: Image block media-library folder filtering no longer returns empty results for matching virtual folders.

2.1.0

  • BREAKING: Abilities API integration extracted to separate add-on vmfa-ai-ability
  • Removed: MCP tools (vmfo/list-folders, vmfo/create-folder, vmfo/add-to-folder) – install vmfa-ai-ability for MCP support

2.0.3

  • Added: vmfo/create-folder MCP ability (requires manage_categories capability)
  • Added: MCP integration guide (docs/mcp.md) with client configs for Claude, GitHub Copilot, and Cursor
  • Added: Agent skill for content-based image foldering (.github/skills/add-photo-to-folder/SKILL.md)
  • Changed: Smoke test script extended with optional mutating step (VMFO_RUN_MUTATING_TESTS=1)

2.0.2

  • Fixed: Updated ability validator return type hints to bool|WP_Error for broader parser compatibility in release/pre-commit environments

2.0.1

  • Added: Abilities API integration with vmfo/list-folders and vmfo/add-to-folder
  • Added: MCP adapter smoke test script for development and CI (scripts/mcp-adapter-smoke-test.sh)
  • Changed: MCP adapter examples now use gateway execution via mcp-adapter-execute-ability
  • Changed: Documentation examples standardized to use https://example.com
  • Changed: Excluded scripts/ from WordPress.org distribution package

2.0.0

  • Added: Add-on base classes (AbstractPlugin, AbstractSettingsTab, ActionSchedulerLoader) in VirtualMediaFolders\Addon namespace
  • Added: Shared WP 7.0+ compatibility CSS for add-on settings tabs
  • Added: Comprehensive add-on development documentation

1.9.0

  • Added: WordPress 7.0+ UI compatibility layer (vmfo_is_wp7() helper function)
  • Added: Conditional WP 7+ style overrides for admin sidebar and editor modal

1.8.3

  • Security: Updated npm and Composer dependencies to address dependabot alerts

1.8.2

  • Changed: Tested up to WordPress 7.0
  • Fixed: Folder icon alignment in media toolbar on WordPress 7.0

1.8.1

  • Added: vmfo_upload_folder filter for controlling folder assignment on upload
  • Added: Attachment metadata now available to upload-folder filter callbacks
  • Added: Add-ons can override the default folder by hooking vmfo_upload_folder

1.8.0

  • Changed: Sidebar preference stored server-side in user meta instead of localStorage
  • Changed: Folder toggle button is PHP-rendered instead of JS-injected
  • Changed: View switching (grid/list/folder) handled entirely server-side via mode URL parameter
  • Changed: Sidebar defaults to visible on plugin activation
  • Added: REST endpoint POST /vmfo/v1/preferences for sidebar preference
  • Added: vmfo_is_sidebar_visible() helper function
  • Added: Activation hook sets sidebar visible for activating user
  • Fixed: Folder sidebar no longer disappears after browser cache clearing
  • Fixed: Grid/list view switching now works reliably (no async race condition)
  • Fixed: Folder icon always appears on Media Library page after activation
  • Removed: folder-button.js (replaced by PHP output)
  • Removed: localStorage dependency for sidebar state

1.7.2

  • NOTE: The plugin updater for add-ons is still in early stages and may not be fully reliable. Pleas update add-ons manually from their GitHub repositories for now.
  • Added: Add-on version checker displays admin notices when installed add-ons need updates
  • Added: New AddonChecker class monitors vmfa-ai-organizer, vmfa-rules-engine, vmfa-editorial-workflow, and vmfa-media-cleanup versions
  • Added: Notices only appear on Media Library pages
  • Added: PHPUnit tests for AddonChecker class

1.7.1

  • Fixed: Version constant now reflects actual plugin version (was hardcoded to 1.3.8)
  • Fixed: Added ABSPATH guards to all source files
  • Fixed: Sanitize orderby parameter in Taxonomy
  • Changed: Extracted inline JavaScript and CSS to enqueued files
  • Changed: Added phpcs.xml linting configuration

1.7.0

  • Added: Subtab navigation system for add-on settings integration
  • Added: Parent plugin now renders subtab nav when add-ons register subtabs array
  • Added: CSS spacing fix for tabs without subtab navigation
  • Added: Enhanced addon-development.md documentation for subtab system
  • Changed: Add-on tabs can now include optional subtabs array for secondary navigation
  • Changed: Improved settings page architecture for better add-on UX

1.6.8

  • Fixed: Removed Media Folders metabox from attachment edit screen (folders are managed via the media library sidebar)

1.6.7

  • Changed: Updated @wordpress/scripts to 31.3.0
  • Changed: Updated vitest to 4.0.18

1.6.6

  • Added: New vmfo_can_delete_folder filter allows add-ons to prevent folder deletion
  • Added: New /folders/{id}/can-delete REST endpoint for checking folder deletability
  • Added: Delete modal now shows blocked message when folder cannot be deleted
  • Fixed: Sticky sidebar header now works correctly using flexbox layout
  • Documentation: Added vmfo_can_delete_folder hook and REST endpoint documentation
  • Documentation: Added JavaScript Translation Mapping (i18n-map.json) documentation

1.6.5

  • Fixed: Deleting a folder now selects “Uncategorized” instead of “All Media” when “Show All Media” setting is disabled

1.6.4

  • Fixed: REST API now returns proper 400 status code instead of 500 when creating duplicate folders
  • Fixed: Error messages now use “folder” terminology instead of “term” for better user experience

1.6.3

  • Fixed: Folder counts now update automatically when media is deleted (single or bulk delete)
  • Documentation: Add-on bootstrap example now includes Requires Plugins header (WordPress 6.5+)

1.6.2

  • Fixed: “Add Media File” button now respects “Show All Media” setting
  • Fixed: Block editor folder sidebar now defaults to Uncategorized when “Show All Media” is disabled
  • Fixed: Prevented duplicate folder selection callbacks and state updates after component unmount
  • Fixed: Added proper cleanup for sticky sidebar event listeners to prevent memory leaks
  • Changed: Folder cache now prefers PHP-preloaded data over localStorage
  • Changed: Exposed vmfRefreshMediaLibrary globally for add-on use
  • Documentation: Updated development docs with accurate REST API endpoints and hooks

1.6.1

  • Changed: Add-on tabs are now sorted alphabetically by title in the settings page
  • Documentation: Added comprehensive Add-on Development Guide with philosophy, architecture, and implementation details

1.6.0

  • Added: Add-on Tab System – Settings page now supports tabs for add-on plugins
  • Added: Add-ons can register their settings as tabs within “Folder Settings”
  • Added: New vmfo_settings_tabs filter for add-on registration
  • Added: New vmfo_settings_enqueue_scripts action for conditional script loading
  • Added: SUPPORTS_ADDON_TABS constant for add-on compatibility detection
  • Added: docs/addon-integration.md with comprehensive add-on development guide
  • Changed: Settings page refactored to use tab-based navigation
  • Changed: PAGE_SLUG constant is now public for add-on access

1.5.3

  • Fixed: Updated Norwegian translations for Rules Engine integration strings

1.5.2

  • Changed: Default Folder setting now links to Rules Engine settings when VMFA Rules Engine add-on is active

1.5.1

  • Fixed: Folder sidebar now repositions immediately when WordPress Help panel is opened, closed, or tabs are switched
  • Fixed: Added debouncing to prevent redundant sidebar position recalculations
  • Fixed: Memory leak from event listeners not being cleaned up on sidebar removal

1.5.0

  • Added: Folder search/filter functionality in sidebar header for both Media Library and Gutenberg modal
  • Added: Search icon appears when there are more than 10 top-level folders
  • Added: Search automatically expands parent folders to show matching subfolders
  • Added: Norwegian translations for search UI strings
  • Changed: Gutenberg modal sidebar header now has contrasting background

1.4.2

  • Fixed: Removed unintended folder name padding in Gutenberg media modal for folders without children

1.4.1

  • Fixed: Folder names for folders without children now align vertically with folder names of folders that have children in the sidebar

1.4.0

  • Added: Sticky sidebar header – folder management buttons now stay visible when scrolling the folder list

1.3.9

  • Fixed: Grid/List view icons now correctly show all media instead of forcing folder mode
  • Fixed: Folder icon now respects “Show All Media” setting
  • Fixed: URL encoding issue causing duplicate vmfo_folder parameter
  • Fixed: Memory leaks from event listeners when hiding folder view
  • Fixed: Race condition where duplicate folder button was created

1.3.8

  • Changed: Hide (0) count on folders with subfolders to avoid confusion about empty folder branches

1.3.7

  • Changed: Sidebar top now aligns horizontally with attachments-wrapper instead of first thumbnail

1.3.6

  • Fixed: Folder sidebar now properly extends to viewport bottom and scrolls when content exceeds screen height
  • Fixed: Sidebar uses fixed positioning to avoid clipping by parent containers
  • Improved: Sidebar top alignment with first image thumbnail

1.3.5

  • Fixed: React hook order error when entering bulk select mode
  • Fixed: Race condition in folder refresh when moving media
  • Improved: Bulk move folder dropdown now ordered like folder tree with hierarchy

1.3.4

  • Added: Direct URL support for folder view via upload.php?mode=folder
  • Fixed: Clicking folder icon from list view now correctly opens folder view

1.3.3

  • Changed: Media folders taxonomy screen now mirrors sidebar ordering
  • Changed: Removed sortable header UI from the Media Folders taxonomy list table
  • Changed: Media Folders taxonomy UI is only visible when WP_DEBUG is true

1.3.2

  • Changed: Folder counts endpoint now avoids per-folder queries for better performance
  • Fixed: Suggestions REST response now matches stored suggestion labels (string-based suggestions)
  • Fixed: Admin UI hardened notice rendering to avoid HTML injection
  • Fixed: Admin UI reduced risk of duplicate event handlers/observers when scripts re-run

1.3.1

  • Fixed: Settings page default folder dropdown now uses correct taxonomy (vmfo_folder)
  • Fixed: Block editor folder filter now uses correct REST API endpoint (/wp/v2/vmfo_folder)
  • Fixed: REST API schema title updated to vmfo-folder for consistency
  • Fixed: Folder drag-drop reorder now persists correctly after page refresh

1.3.0

  • Changed: Renamed all prefixes from VMF_ to VMFO_ for WordPress.org compliance
  • Changed: Renamed taxonomy from media_folder to vmfo_folder for uniqueness
  • Changed: Inline CSS now uses wp_add_inline_style() instead of embedded style tag
  • Removed: GitHub update checker (WordPress.org handles updates)
  • Added: Automatic migration for existing folder assignments from old taxonomy
  • Added: .distignore file for proper distribution builds

1.2.3

  • Changed: “All Media” folder now disabled by default in settings

1.2.2

  • Fixed: REST API now returns all folders (removed meta_key ordering that excluded folders without vmf_order)

1.2.1

  • Changed: Updated i18n-map.json with new accessibility component mappings
  • Changed: Updated Norwegian (nb_NO) translations for all new accessibility strings

1.2.0

  • Added: Keyboard-accessible move mode – press M to pick up media, arrow keys to navigate, Enter to drop
  • Added: Screen reader announcements for all move mode actions
  • Added: MoveModeBanner visual feedback during keyboard move mode
  • Added: LiveRegion component for ARIA live announcements
  • Added: useAnnounce and useMoveMode hooks for accessibility features
  • Added: Visual drop target highlighting on folders during move mode
  • Fixed: Screen reader instructions properly hidden from visual display
  • Fixed: Enter key drops to folder without navigating during move mode
  • Fixed: “Jump to Folder After Move” setting respected for keyboard moves
  • Fixed: Mouse drag now cancels keyboard move mode to prevent conflicts

1.1.7

  • Added: Auto-jump to target folder when moving the last file(s) from a folder

1.1.6

  • Added: New bulk move AJAX endpoint for efficient bulk operations
  • Performance: Bulk move now uses single AJAX request instead of one per file
  • Fixed: Missing sprintf import causing error when selecting files in bulk mode
  • Fixed: Sidebar visibility preserved when browser re-renders during bulk select mode

1.1.5

  • Performance: Optimistic folder loading with localStorage caching for instant sidebar display
  • Performance: Reduced API calls – secondary components read from cache instead of fetching
  • Fixed: Eliminated layout shift with critical inline CSS for sidebar positioning
  • Fixed: Folder order now persists correctly when dropping files on folders
  • Fixed: REST API now returns vmf_order for proper client-side sorting

1.1.4

  • Refactored: PHP REST API with shared helpers for capability checks, folder/attachment lookups
  • Refactored: Settings class with centralized option retrieval and visibility enforcement
  • Refactored: Admin class now uses Taxonomy::TAXONOMY constant instead of hardcoded strings
  • Refactored: JavaScript folder API calls consolidated into shared utility
  • Fixed: Test mock for useFolderData to properly handle parse:false API responses
  • Removed: Unused SortableFolderList.jsx component

1.1.3

  • Fixed: Block editor media modal now respects “Show All Media” and “Show Uncategorized” settings
  • Fixed: Folder sidebar in Gutenberg modal matches Media Library settings visibility
  • Changed: Replaced wp_localize_script with wp_add_inline_script for proper boolean handling in JS config

1.1.2

  • Fixed: Default folder filter not applying on initial page load when “Show All Media” is disabled
  • Fixed: Media Library now correctly shows only uncategorized files on load when Uncategorized is the default

1.1.1

  • Fixed: 500 error on plugin information page when GitHub API returns null
  • Fixed: Added defensive handling for null plugin info in GitHubPluginUpdater

1.1.0

  • Added: Drag-and-drop folder reordering with visible grip handle
  • Added: Custom folder order persists via vmf_order term meta
  • Added: Optimistic UI updates for instant visual feedback during r
14 Dec 2025Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)