WordPress.org

Ready to get started?Download WordPress

Codex

Media Library Screen

Contents

Media → Library

Media consists of the images, video, recordings, and files that you upload and use in your blog. Media is typically uploaded and inserted into the content when writing a Post or writing a Page. Note that the Uploading Setting in the Settings Media Screen describes the location and structure of the upload directory (where your media files are stored). If you do need to upload Media, even if that Media is not related to a Post or Page, then you need to use the Media Add New Screen.

The Media Library Screen allows you to edit, view, and delete Media previously uploaded to your blog. Multiple Media objects can be selected for deletion. Search and filtering ability is also provided to allow you to find the desired Media.

Media Library Screen


Back to Administration Screens.

Media Library

Table of Media

A table lists all of your Media, by row. The Media are listed with the newest uploaded Media first.

The table of Media contains the following columns:

  • [ ] – This checkbox, when clicked (checked), 'selects' that particular Media to be processed by a Bulk Action.
  • "thumbnail" - There is no column heading for "thumbnail", but a small image of the actual media is displayed in this column
  • File - File is the actual name of the file that holds this particular Media. Below the File name the media type (e.g TXT, PNG, JPG, PDF) is displayed.
  • Uploaded to - Uploaded to describes the Post or Page and the date of that Post or Page. Click on the title of the Post or Page to view that Post or Page in an edit Screen. If unattached, an "Attach" link will appear and when clicked this Media can be attached to selected Posts or Pages.
  • Date - The date the Media was uploaded.

Sortable Columns

Some column headings, such as the File, Author, Uploaded to, and Date headings, can be clicked to sort the Table of Media in ascending or descending order. Hover over the column title, e.g. File, to see the up arrow or down arrow. Click the heading to change the sort order.

Page Navigation

Under the Screen Options, the number of Media displayed per page is determined. If more then one page of Media is available, two double-arrow boxes to move to the first and last page are provided. Also two single-arrow boxes are displayed to move one page backward or forward. Finally, a box showing the current page number can be used to enter a page to directly display.

Screen Options

The Screen Options allow you to choose which columns are displayed, or not displayed, in the underlying Table. Clicking on the Screen Options tab shows a list of the columns with a check-box next to each column. Check the box for each column you want displayed in the Table, or uncheck the box to not display that column. In addition, the number of Media items to display in the Table of Media can be set. Click the Screen Options tab again to close the Screen Options.

Search

Above the Table, to the right, is a search box where you can enter a word, or series of words, and click the "Search Media" button to search and display all the Media meeting your search words.

Filtering Options

At the top of this Screen are links such as All, Images, and Movies, that when clicked will cause just the Media of that type to be displayed in the underlying Table.

Below that, and to the right of the Bulk Actions Apply button, is another filter option:

Show all Dates
This dropdown allows you to select, by date, which Media are displayed in the Table of Media. By default, "Show all dates" is selected and all of your Media are displayed.
Filter
Clicking this button applies the settings you select in the dropdown.

Using Selection, Actions, and Apply

Selection

This Screen allows Bulk Actions to be performed on one or more Media selected in the Table. For Bulk Actions to be performed on multiple Media at once, those Media must be first selected via one of these methods:
  • Select one Media at a time - To select a Media, the checkbox to the left of the Media entry must be checked (clicked). It is possible to keep selecting more Media by checking their respective checkbox.
  • Select all Media in given Table - All Media in a given table can be selected by checking the checkbox in the Table's title, or footer bar. Of course, unchecking the header or footer title bar checkbox will cause all entries in that Table to be unchecked (NOT selected).
  • Reverse Selection - A Reverse Selection means checked items become unchecked, and unchecked items become checked. A Reverse Selection is accomplished by holding the Shift key on the keyboard and clicking the header or footer title bar checkbox.

Actions

Actions describe the process to be performed on particular Media. There are two styles of Actions that will be referred to as Bulk Actions and Immediate Actions. The follow describes these Actions:
  • Bulk Actions - These Actions can be performed on one, or more Media, at one time, if those Media have been previously selected. Bulk Actions are available, when appropriate, as choices in the Bulk Actions pulldown box, above the Table. The only Bulk Action allowed is Delete.
  • Immediate Actions - Immediate Actions are performed immediately, on an individual Media. Hovering the mouse cursor over the Media row reveals the Edit, Delete, and View options under the Name column, in that Media row. Clicking on a Media Name will also initiate the Edit Action.
The available Actions are described below:
  • Edit - This Immediate Action displays the Edit Media Screen. This Action can be initiated by click on the Media Name or clicking on the Edit option just below the Media Name. See the Edit Media section for details on editing Media information.
  • Delete Permanently - This Action deletes the Media. Delete is available both as a Bulk Action, and an Immediate Action.
  • View - This Action presents the Media in a simulated view of how the image would look when displayed in your Theme. View is available only as an Immediate Action.
  • Attach (if unattached) - Click this link in the "Attached to" column (or the "Media" column when Unattached view) to attach the media to a post/Page. If clicked, the Find Posts or Pages dialogue box will appear:
    1. Search posts or Pages by keyword.
    2. Select the post/Page one wants to attach the media.
    3. Click the Select button.

Apply

After one or more Media are selected, and after a Bulk Action is specified, the Apply button performs the given Action on the selected Media.
  • Apply - Click the Apply button to execute the Bulk Action, specified in the Actions pulldown, on the selected Media. Remember, prior to executing Actions, one or more Media must be selected, as described before.

Edit Media

This mode is essentially the same as the Media Add New Screen so see the Edit Media section of that article for more information. The only difference is that the buttons to save your work are called "Save Changes" instead of "Save All Changes".

Changelog

See also Administration Screens and Network Admin.