WP Media Folder: Folders and Media
The main idea of WP Media Folder is to classify media directly from the media manager. WP Media Folder works on the native media manager, both from the public and admin side. For example you can use it in posts and pages.
1. Manage folders from posts or pages
In Classic Editor, to use WP Media Folder just click on the Add Media button. With Gutenberg editor, please go to this section 7. Single Image Lightbox block in Gutenberg for more information.
Click on it to open the main media view with the folder management.
There's a button to create a folder and directories are listed below. When you click on Add New Folder button you have to type a name and validate the creation.
If you want to create a sub-folder you just need to enter in a folder and repeat the operation. You can then use the breadcrumb or folder tree so not to lose yourself in folder levels :)
A single media can belong to several folders. When you click on a file look for the Media Folders selection setting in the the right side column and click on it.
You can also use the WordPress media manager to batch apply multiple folders to multiple media. First, click Bulk Select, pick media files and then press the Media folders selection button.
2. Manage media
In order to move one or several media in a folder, click on the media and drag it into the folder you want.
You also have the possibility to drag multiple images into folders or into the folder tree. First select media.
Then drag media into folders.
A notification will then be displayed on the top right corner with the possibility to UNDO the last media move you've just made.
How to download an image?
First, you need to enable "Download media" option at plugin settings > General > Main Settings tab.
Then on the Media library with Grid view, just right click on any images, you will see the download button.
3. Remove and edit folders
The folder can be renamed by double-clicking on the folder on the left panel or right-clicking on the folder and choose Edit Folder.
In order to remove media, right click on the folder and click Delete button.
If you remove a folder with media inside, by default all media inside will go back the root of the media manager.
You can also change the color of folder from the Change color menu.
4. Media view
The media and folders can also be managed from the WordPress media manager view. You can adjust the width of the left panel containing your folder tree.
You'll also see existing folders from the media view. Note that article categories are automatically added as folder.
To upload media in particular folders, select one or search folder on the left panel. Then click on Add New button or Drag 'n drop your media. From the folder tree you can ensure that you're in the right folder.
In order to filter media, you can click on Filtering > Display all files or click directly on Display all files button to see all your media as the WP Media manager default or display only your own media.
Media can also be filtered by media type, dates, minimum and maximum size (in px), weight ranges or sorted by folder and media (date, size, types,...).
5. WordPress media searching and filtering
WP Media Folder adds some new features to the default media manager. You'll find all the settings in the plugin configuration General > Media Filtering. You can use default ones, remove some filters and add your own.
From the configuration you can setup the weight and size filters ranges.
The sorting dropdown lists can filter and sort images and folders based on:
- Display all files
- Display only my own medias
- File type (image, zip, pdf, unattached, mine,...)
- Media upload date
- Size (in pixels)
- Sort folder (ID, Name, Custom order)
- Sort media (Date, Title, Size, File type, Custom order)
Once the option "Search file in a folder and its subfolder" is activated, you can search the file name in not only that folder but also its subfolders.
6. Add remote video
First, if you do not see the Add Remote Video button on Media library, you should enable Enable remote video feature option at General > Main Settings tab.
Then you will see the Add Remote Video button at the header or click on Add New >> Add Remove Video button.
Next, a text box will be displayed on the screen where you can paste the YouTube link. Then you will see a YouTube file among your media.
7. Single Image Lightbox block in Gutenberg
Similar to the Classic Editor, a single image can be inserted into your posts/pages. Please go to WP Media Folder section > WP Media Folder Image Lightbox block, then on the block, click on "Add Image" button to pick an image you want to put on the content.