Media Library Folders

Media Library Folders

Easier file and folder management for WordPress Media Library for Galleries and Albums
Rating:
4.3
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
10000+
Last Updated:
Feb 04, 2025
WordPress Version:
4.0 or higher
Tested up to:
6.7.2

Easier organization, reduced burden

Create actual folders in your WordPress Media Library to easily organize your media files and reduce server burden.

Customize and label as you wish

Add and build new Media Library folders to label and organize your media files as you wish, instead of just organizing them by month/date.

Simple file and folder management

Move, copy, rename, and delete files and folders with a user-friendly drag and drop interface.

8.3.1

  • Updated setting functions to allow updates only by administrators
  • Fixed issue with removing blocked IPs

8.3.0

  • Added fw-backup to list of folders to hide
  • Removed code to allow uploads folder using a symlink that was causing new folders to be created in uploads.

8.2.9

  • Added code to create_new_folder() to allow uploads folder using a symlink
  • Searches for existing folders now converts file and folders names to lower case
  • Added code to improve generating file paths for multi sites

8.2.8

  • Changed all links using ‘http’ to ‘https’

8.2.7

  • Fixed issue with creating new folders

8.2.6

  • Tested with WordPress 6.7

8.2.5

  • Add code to check for null array in when updating URLs in posts and pages created with Elementor

8.2.4

  • Additional security enhancements added

8.2.3

  • Security enhancements added

8.2.2

  • Tested with WordPress 6.6

8.2.1

  • Updated the get_parents function
  • added acymailing to list of folders to hide
  • Added security enhancements

8.2.0

  • Updated the Upgrade to Pro page
  • Added support for AVIF image files
  • Tested with WordPress 6.5

8.1.9

  • Changed add_new_folder_parent() to a public function
  • Added code to prevent directory traversal exploits
  • Fixed issue with display folder contents after deleting a folder

8.1.8

  • Added code to AJAX functions and numeric parameters used in SQL queries for improved security
  • Removed unused functions

8.1.7

  • Added code to ensure the parent_folder parameter in the create_new_folder function is always an integer

8.1.6

  • Fixed issue with get_file_thumbnail() function
  • Fixed issue with moving images when block direct access is off

8.1.5

  • Tested with PHP 8.2 and WordPress 6.4
  • CSS fixes to library page
  • Updated the upgrade to pro page

8.1.4

  • Fixed SQL issue affecting multisite installations

8.1.3

  • Fixed issue with SVG files deleted when regenerating thumbnail images

8.1.2

  • Fixed issue with copying files

8.1.1

  • Fixed issues generating warnings in PHP 8.2

8.1.0

  • Added capability to block direct access to media files

8.0.7

  • Tested with WordPress 6.2.2

8.0.6

  • Added setting to skip WEBP files when syncing

8.0.5

  • Added wpcf7_uploads to list of folders to hide
  • Modified the upload folder data used when checking for new folders
  • Updated the Upgrade to Pro page

8.0.4

  • Renamed label for fontawesome to fix problem loading icons when older versions of fontawesome are in use on a site

8.0.3

  • Tested with WordPress 6.1

8.0.2

  • Fixed links on pages with a single tab

8.0.1

  • Updated upgrade to pro images
  • Improved mobile CSS
  • Fixed issue with moving files to the uploads folder

8.0.0

  • Implemented new user interface
  • Added optional postmeta database index which is available in the plugin settings

7.1.2

  • Added code to use a nonce when running the folder data reset process for better security
  • Updated the folder data reset instructions

7.1.1

  • Tested with WordPress 6.0
  • Removed debugging code

7.1.0

  • Added code to remove dashes from alt text file names
  • Added strict checking to array search when updating customzer settings
  • Added code to sanitize input and output
  • Fixed issue with adding images in the uploads folder when initializing the plugin

7.0.8

  • Fixed issue with scanning unreadable folders

7.0.7

  • Added function to remove hidden files when deleting a folder

7.0.4

  • Fixed issue with deleting attachment posts

7.0.3

  • Modified the size and offset of the drag and drop ghost image

7.0.2

  • Renamed Sort by Name to Sort by Title as the sorting is actually done on the attachment title field
  • Tested with WP 5.8

7.0.0

  • Updated the Upgrade to Pro page

6.1.5

  • Added warning that folder contents will be removed from the database when a folder is hidden
  • Fixed warning about missing ‘now’ variable
  • Added a search button
  • Removed object response warning
  • Added function to remove existing thumbnail images when thumbnails are regenerated

6.1.3

  • Updated the Upgrade to Pro page
  • Added review notice
  • Added code to set the number of files to display on the Media Library Folders page

6.1.2

  • Updated the jQuery functions for WordPress 5.7
  • Updated jsTree to version 3.3.11
  • Added code to prevent the update of the Media Library Folders Reset plugin (the plugin is automatically update when Media Library Folders is updated)

6.1.1

  • Added Javascript code to prevent some functions from trigging twice.
  • Fixed issue with images appearing too far to the left on wide desktop screens

6.1.0

  • Removed depreciated jquery-ui library files that was conflicting with current version of jquery

6.0.7

  • Set the limit to the number of files that can be displayed from a folder to 500 to prevent memory overflow errors when viewing a folder containing thousands of files
  • Removed code to float the folder tree and added scroll bars to the folder tree panel and to the folder contents section
  • Set a fixed height for images displayed on the Media Library Folders page

6.0.6

  • Added function call to ensure jQuery is loaded

6.0.5

  • Added PHP_OS and upload directory information to the System Information display
  • Added code to fix slashes when getting the absolute path when on a Windows server
  • Added a blank index.php file for security

6.0.4

  • Added code to prevent hiding or deleting the uploads folder
  • Added code to handle the mgmlp_ajax is not defined issue that occurs on some multisite installions

6.0.3

  • Added request for feature suggestions

6.0.2

  • Added code to load the jquery-migrate plugin which is not loaded by WordPress 5.5

6.0.0

  • Tested with WordPress 5.5.0
  • Modified image thumbnails HTML

5.2.4

  • Fixed issue with moving or copying scaled images.
  • Fixed issue with exif_read_data()

5.2.2

  • Fixed issue with media library search
  • Fixed issue with moving scales images

5.2.1

  • Added code to read exif data for jpeg files

5.2.0

  • Fixed issue with searching for folders with a null ID
  • Added code to prevent the adding of invalid files when syncing
  • Added test for destination folder when uploading a file

5.1.9

  • Fixed issue with adding duplicate images when syncing scaled images
  • Added noscript warning
  • Update PHP version test/notice to PHP 7.2

5.1.8

  • Remove engine type from SQL used for creating the folder table

5.1.7

  • Added wp-content and uploads paths to the support page, system information tab
  • Added test for existing parent folder record
  • Added check for empty file name when uploading
  • Changed the css file handle for jstree to jstree-style

5.1.6

  • Added Dutch translation to Media Library Folders Reset
  • Added code to insure removal of files deleted through media library folders pro

5.1.4

  • Enabled localization (translation) of text in the Media Library Folders Reset plugin

5.1.3

  • Added ability to close MLFP page popups
  • Added setting to display scaling feature added in WordPress 5.3

5.1.1

  • Added the optional constant FS_CHMOD_DIR for setting the permission set for new folders
  • Added code to check for current folder id
  • Fixed issue with deleting folders

5.1.0

  • Fixed issue with missing alt text when renaming an image

5.0.9

  • Added code to update links in Themify Builder and Beaver Builder posts and pages. Note, when links have been updated in Beaver Builder, it is necessary to open a page or post containing updated links in the editor and resave it for the change to take effect
  • Updated frequently asked questions
  • Added code to update links in WP Pagebuilder

5.0.8

  • Added code to update links in SiteOrigin Page Builder and Beaver Builder posts and pages. Note, when links have been updated in Beaver Builder, it is necessary to open a page or post containing updated links in the editor and resave it for the change to take effect
  • Updated the Dutch translation files

5.0.7

  • Removed the file extension from image SEO file names
  • Fixed issue with displaying changes to image SEO settings

5.0.4

  • Improved updating of links for Elementor background images

5.0.3

  • Added code to prevent activation is Media Library Folders Pro is already activated
  • Fixed issue with dragging blocks in the Gutenburg editor
  • Replace relative paths with absolute paths for opening include files

5.0.2

  • Added code to allow unfiltered uploads

5.0.0

  • Removed PHP notice text appearing on some sites

4.3.9

  • Fixed conflict with other plugins using pluggable.php

4.3.8

  • Added security enhancements

4.3.7

  • Add code to check for IIS when generating image metadata

4.3.5

  • Added code to check for non existent folder parent as suggested by Christian

4.3.4

  • Add code to test for thumbnail files before moving them
  • Tested with WordPress 5.0.2
  • Added themify to the list of folders to automatically hide

4.3.3

  • Change the folder tree left node image
  • Removed empty leaf nodes from the folder tree
  • Updated list of folders to skip

4.3.1

  • Added check for wp-all-import when loading CSS and Javascript files

4.3.0

  • Modified the sorting order of files and folders to be case insensitive

4.2.6

  • Updated the Upgrade to Pro page

4.2.5

  • Added check for thumbnail size data during move operation
  • Localized for translation text display via Java Script
  • Update the Dutch translation
  • Updated the Upgrade to Pro page

4.2.4

  • Updated the list of folders to skip when scanning or syncing the uploads directory

4.2.3

  • Modified how the move and rename functions handle thumbnail images

4.2.1

  • Fixed missing closing a tag in on the support page
  • Added Spanish translation
  • Improved code to detect when the plugin is running on IIS/Windows
  • Fixed javascript issue affecting the Edge browser
  • Fxied issue causing sync, move and copy to fail on sites running with IIS

4.2.0

  • Added multi select by holding checking a second item while holding down the shift key.
  • Improved the copy and move function to avoid triggering a server timeout error
  • Added check for mime type when files are uploaded

4.1.9

  • Modified the sync function add files without triggering a server timeout error
  • Replaced timer function for regularly checking for new folders

4.1.6

  • Fixed issue with sync adding .htaccess to the media library
  • Added troubleshooting tips to support page

4.1.5

  • Fixed Locatization issues
  • Added Russian translation
  • Fixes to the CSS

4.1.4

  • Added Dutch translation

4.1.1

  • Fixed problem with undefined file name issue that some users were reporting

4.0.9

  • Added missing progress bar Javascript library

4.0.8

  • Fixed issue with adding the SEO file title when Image SEO is turned on

4.0.7

  • Added define that turns off MLFP diagnostic messages, add define(‘HIDE_WRITELOG_MESSAGES’, true); to the wp-config.php file to activate
  • Added support for WordPress PDF preview images
  • Added ‘state’ to jstree settings to force the tree to open after refresh

4.0.5

  • Added CSS to improve the rendering of the folder tree.

4.0.4

  • Added CSS to fix the Move/Copy button that was not displaying in sites using a language other than English or French

4.0.3

  • Removed dashes and file extention for file titles

4.0.1

  • Added Javascript code to increase the height file container when the folder tree has a greater height

4.0.0

  • Added new UI

3.4.5

  • Fixed issue with string/array conversion for adding a body class

3.4.3

  • Added French translation

3.4.2

  • Modified move/copy process to process files incrementally rather than all at once.

3.4.1

  • Allowing uppercase characters, dash and underscore in filenames and update links when a file is renamed

3.3.8

  • Added link to page to fix common issues

3.3.7

  • Stopped the deleting of images that are remove from the media library when a folder is hidden
  • Fixed conflict with Enhanced Media Library settings tab
  • Fixed issue with ‘http’ in attachment file paths

3.3.5

  • Fixed table prefixed used when update attachment links

3.3.4

  • Fixed bug preventing the use of the correct link to the attachment edit page

3.3.3

  • Restored the click that allowed viewing of an attachment’s media page
  • Because MLF no longer does complete page refreshes, view of an attachment’s media page will be done is a separate browser tab
  • Fix problem with the redefining of ‘clearfix’ that was causing the folder contents to appear at the bottom of the page.

3.3.2

  • Remove unneeded callback functions causing errors

3.3.1

  • Added code to update attachment links in posts and pages
  • Refresh file and folder data without a page refresh

3.3.0

  • Fixed bug allowing deletion of folders that are not empty
  • Replace home_url() function with site_url()

3.2.9

  • Changed the file and folder permissions used for adding files and folders
  • Changed plugin name from Media LIbrary Plus to Media Library Folders

3.2.8

  • Added code to skip Uncode theme custom thumbnails images

3.2.7

  • Added the code to hide folders and to skip the scanning of non image folders

3.2.5

  • Updated the Upgrade to Pro page

3.2.4

  • Fixed regenerate_thumbs_cap issue found by nosilver4u

3.2.3

  • Fixed WP media library version check
  • test for single and double quotes in new folder names
  • Remove the fix folders helper plugin
  • Adjusted the timing of the review notice

3.2.2

  • Added code to remove extra slashes that may be added on Windows servers

3.2.1

  • Tested on WordPress 4.7.1

3.2.0

  • Added test for missing backslash

3.1.9

  • Fixed issue with adding an extra slash when creating a new folder

3.1.8

  • Tested with WordPress 4.7

3.1.7

  • Fixed the issue with invalid folder parent IDs

3.1.6

  • added missing upload destination folder

3.1.5

  • Added holiday greetings

3.1.4

  • Added new file processing code

3.0.12

  • Fixed issue will adding new folders to MLP

3.0.11

  • Added code to handle URLs for multi sites

3.0.10

  • Added code to test for and fix bad URLs in the Media Library

3.0.9

  • Added code for adding attachment info for better SEO Images

3.0.8

  • Added code for regenerating media library thumbnails

3.0.7

  • Added support link and email to the MLP page

3.0.6

  • Fixed problem deleting a folder (for MLPP)

3.0.5

  • Added code to prevent folder deletion when the folder is not empty

3.0.4

  • Added folder navigation and drag and drop copy and move

3.0.3

  • Added second method to get the absolute path
  • Added drag and drop for moving files.

3.0.1

  • Added upgrade to pro page

3.0.0

  • Removed code to update attachment URLs

2.37

  • Fixed MLP-reset version number

2.36

  • Modified to work with WordPress 4.5.1

2.35

  • CSS modified to work with WordPress 4.5

2.34

  • Modified the code to allow the deletion of folder data even if the folder does not exist

2.33

  • Made the stand alone version of MLP compatible with Maxgalleria

2.32

  • Removed Maxgallery promo on MLP page
  • Updated MLP page promo

2.31

  • Changed database engine used for creating the folders table to MyISAM

2.3

  • Added folder sync function to scan and update the database with new files and folders found on the server
  • Fix problem with incorrect path to images in the new srcset parameter

1.04

  • Included the Media Library Folders reset plugin
  • Placed Media Library Folders in its own menu to allow other plugins to add submenus to the Media menu

1.03

  • Add support for user defined uploads folder
  • Added code to handle attachment_id in attachement URLs

1.02

  • Added facebook like and share buttons
  • Added support for muilt site network activation
  • Added code to update theme customizer data if a file used by the customizer is moved.

1.01

  • Revisions to the readme file and banner image
  • Added scan for folders in uploads directory during initial scan on plugin activation
  • Added rating request notice

1.0

  • Initial version of the Media Library Folders

Great, with some exceptions ...

By glitterandshine on February 27, 2025

It is the only plugin that allows you to actually use your own, real folders to organize media. If keeping your media organized by folders is important to you, you will want this plugin. The interface is a little clunky, but it works. You can upload media within the mlf system, or upload via ftp and then have mlf rescan so the media will be recognized. You can also move media to different folders, and the associated links within Wordpress get updated, which is excellent (there are other plugins that can do that, but it's built in here, so those are not needed). For these reasons, I highly recommend this plugin!

Now for the "except" ...
1. Your folder structure will NOT show up in the add media window, unless you purchase the pro version. The media will be in the usual library, but you will not be able to see the folder structure you create in media library folders.
2. You cannot upload to your folder structure from the "add media" window (while creating a post) - you need to first upload the media in mlf, then add it to your post. Just matters of convenience, but for those reasons I did purchase the pro version, because it adds those features. The pro version also comes with a bunch of other stuff I don't need at all.
3. The biggest caveat to me is that the pro version ONLY works as long as you have an active license. When the license expires, the extra features are removed. I have never used another plugin that actually quit working after the license term. Typically they keep working, you just don't get any updates or support. Also, the license expired screen promises a discount when you renew, but there is no discount. Although I probably would have renewed at some point for the updates, the policy of removing features on license expiration is a huge turnoff.

Lots of problems on macOS

By Queer as You (queerasyou) on February 25, 2025

It's a good plugin, and I haven't found an alternative yet.

With the latest version of the macOS operating system, it works significantly less well.

There is always a delay before the image is available, sometimes you have to refresh the page so that the media module displays the downloaded image

On a folder most of the time the content is not displayed, you have to click several times on the folder for the content to appear, it disappears almost immediately.

I have only observed this phenomenon on Safari.
So yes, I can try to take another browser, but it is a headache to have to choose another browser for this display problem.

sounds funny but isn't

By hmich on January 21, 2025

incredible: "The ability to insert items from the Media Library Folders user interface is only available in Media Library Pro Version"
you make people try and try until finding this comment in your faq, funny is the who invented this thing seems not having much clew about not hiding essential decision maling points from the triel version, because your plugin isn't free at all, it's a cra**y useless trial version which helps nothing without being able to use the files in the created folders, so tell me how some can know if it really works in the paid version, maybe another trickery is awaiting after ...

Don't bother, unless you're going to buy it

By coehistory on November 22, 2024

It seemed good at first glance; creating folders is easy and moving existing files to them is a snap. The help video isn't great, but I didn't really need it to get that far.

However, I cannot tell if it works like i need it to (I have a lot of media files to organize and wanted to be able to search for them by some sort of organization in stead of year/month as I make pages with them) because the functionality of actually using the folders you created for organizational purposes (like, say, in Page Builder or anywhere else outside of the plugin) is locked behind the Pro version, so I'm going to uninstall it- I don't really want to buy anything essentially sight unseen.

not working well when uploading photos

By gufuxd on August 6, 2024

Difficult to show folders and synch. When uploading photo very often it crashes with an error "0" and I need to upload 1 photo at time... really really painful. User experience really bad with a feeling of not working well to upload photos.

It Just Works

By CMProduct (ddapparel) on July 21, 2024

A fantastic plugin that I have been using for probably a year now and it just works. It replaces the URL to the folders and has no performance issues [doing that] at all. It's seamless and is very easy to use.

Thank you @maxfoundry for this great plugin!

Good plugin for modify folders

By danielarco on June 20, 2024

Good plugin for modify folders

Awesome functions and quality support - even with free version

By greatpages on February 28, 2023

Ever since coming upon this handy little plugin I sticked to it throughout all of my projects. It's one of those few plugins I consider to be a must have!
Compared to other products available on the market Media Library Folders brings the most useful features even in the basic version and allows for a clean structure of your media files all the while being easy to use.
Developing is an ongoing process. If you should ever face an issue and expect this plugin to be the reason, be sure that their support will take care of you asap- no matter if you're a paying subscriber or free user.
Thanks to the whole team behind! I have always had only the best experiences with them girls 'n guys and it's always been a pleasure.

Absolutely perfect!

By dirkliesenfeld on October 12, 2022

Tried many plugins and this one was the best. Period.

Perfect

By AndyBrunner on May 18, 2024

Easy to use and works perfectly.

Try other plugins too!

Media Library Folders

Easier file and folder management for WordPress Media Library for Galleries and Albums

Try Demo More Details

Real Media Library: Media Library Folder & File Manager

Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy with Real Media Library! (Alte …

Try Demo More Details

Wicked Folders

Organize pages and custom post types into folders.

Try Demo More Details
Screenshots
Author Site Author Site

Try Media Library Folders With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.