How To Use The WordPress Media Library

How to Insert Special Character into WordPress Posts And Pages

How To Use The WordPress Media Library

How To Use The WordPress Media Library

In WordPress you can upload, store, and display a variety of file types (media) into your site’s content.

The most common file types are images, videos and audio files, but you can also use other file types such as PDF document files, spreadsheet files, code samples, etc.

Typically, you will upload and insert media into your content when writing a Post or writing a Page.

Adding media to the WordPress Media Library allows you to upload photos and create image galleries usingan interface that makes uploading files and placing them into your posts and pages very easy.

Additionally, you can create image galleries very quickly with drag and drop reordering, inline caption editing, and simplified controls for layout, amongst other things.

How To Use The WordPress Media Library

In this tutorial you are going to learn how to use the feature.

Important

Note: Some settings such as specifying the size of thumbnail images and options for the location and structure of the upload directory (where your media files are stored) are controlled in the Media Settings section.

Watch the video below and then complete the step-by-step tutorial to learn more about using the WordPress media library …

How To Use The WordPress Media Library: Step-By-Step Tutorial

You can upload and store various types of media files in your WordPress Library …

How To Use The WordPress Media Library

You can also upload files to your site without creating a post or page first. This allows you to upload files to use with posts and pages later and/or get a web link to a particular file that you can share.

To view all the files in your WordPress site’s Library, go to your navigation menu and click on Media > Library

How To Use The WordPress Media Library

This brings up the Library screen ….

How To Use The WordPress Media Library

A table listing all of your files will display in the Library screen. In a later section of this tutorial we will cover all the features available in this section.

If you have not added any files to your Library, you will see an empty table …

How To Use The WordPress Media Library

How To Add Media Files To Your WordPress Media Library

To add files to your WordPress site’s Library, go to your navigation menu and click on Media > Add New

How To Use The WordPress Media Library

You can also add new files by clicking on the Add New button in your Library screen …

How To Use The WordPress Media Library

A new screen called Upload New Media opens up containing the WordPress Uploader functions …

How To Use The WordPress Media Library

There are three options you can use to upload files to your site:

1) Drag-And-Drop: You can add multiple files to your Library by selecting a group of files and dragging them into the Drop files here area surrounded by the dashed border.

2) Select Files: This opens a window that lets you select a folder in your hard drive and upload files from your computer.

3) You can also use the Browser Uploader if you experience any problems using the multi-file uploader…

How To Use The WordPress Media Library

Warning

Note: the maximum upload size for your files is determined by your web hosting account settings. In the example screenshot above, the Maximum upload file size is showing as 64MB (MegaBytes). Your screen may show a different maximum limit.

If you are experiencing problems uploading files to your WordPress site, your limit size may be set too low. You could use an image editing application to resize the image, but it’s best to ask your web hosting company to increase your file upload settings, or see this tutorial: How To Increase The Maximum File Upload Size In WordPress

Let’s go through each of the file upload methods now …

Drop files here – Drag-and-Drop method

The drag-and-drop method is useful if you want to upload multiple files located in the same source folder. However, you can also use it to upload a single image.

Make sure that both the Upload New screen and the folder containing your image files are open and visible on your screen (you may have to resize their windows on your browser to see both of them at once).

Next select a single image, or multiple images by holding down the Shift or the CTRL button, then drag your selected files from your folder into the blue dotted area of the Upload New screen (in the Drop files here section) and release your mouse …

How To Use The WordPress Media Library

If you have selected multiple files, these will begin uploading …

How To Use The WordPress Media Library

Once your files have been uploaded, they will display in your Library …

How To Use The WordPress Media Library

Select Files Method

This method allows you to search for the location of your files (e.g. in your hard drive), then upload one or multiple files.

  1. Click on Select Files in the Uploader, and locate the folder containing your files, then …
  2. Select one or more files to upload and click Open in the File Upload window …

How To Use The WordPress Media Library

Selecting the file(s) you want to upload and clicking Open activates a progress bar on the Upload New Media screen …

How To Use The WordPress Media Library

You can also use this method to upload different media file types (e.g. audio and video files) from different folder locations on your hard drive.

Selected files are placed in a queue waiting to be uploaded …

How To Use The WordPress Media Library

Using The Browser Uploader Method

If you experience any problems uploading your files using the previous methods, then try using the browser uploader instead.

After clicking on the browser uploader link, a new screen appears. Click the Browser button, then locate the file you want to upload and click on the Upload button to import your file …

How To Use The WordPress Media Library

Click on Switch to the multi-file uploader to exit the browse uploader and return to the multi-file uploader …

How To Use The WordPress Media Library

Attaching Media Files To Posts And Pages

Typically, there are two ways to upload media to WordPress:

  1. You can upload files into a Post or Page while creating or editing your Post or Page
  2. You can upload files that is not related to a Post or Page yet.

If a file is uploaded within the edit screen of a post or page, it will automatically be attached to that post or page.

If a file is uploaded via the Library, then the file(s) will be unattached. The file(s) may become attached to a post or page when inserted into a post or page later, but you can also attach unattached items directly inside the Library feature …

For example, here is a screenshot of an image that was uploaded via the Library and that is currently unattached to any page or post …

How To Use The WordPress Media Library

Clicking on the Uploaded to > Attach link associated with an unattached file brings up a screen that allows you to associate the file with a page or post …

How To Use The WordPress Media Library

To do this, search for the page or post you want to attach the file to, the select it from the list and click the Select button …

How To Use The WordPress Media Library

Your image will now be attached to your selected post or page and will show up as part of that post’s or page’s image gallery (see this tutorial to learn How To Insert And Format Images Into WordPress Posts Or Pages) …

How To Use The WordPress Media Library

Important

Note: Media items are also “Posts” in their own right and can be displayed as such .

If the parent post of an attached media item is deleted, the item will become attached to the deleted post’s parent if it exists. If no parent post exists, the  item will become unattached and available for re-attachment to another post or page.

Editing Media Files In The WordPress Media Library

Once a item is uploaded to the WordPress Media Library, it can be edited.

You can edit the item by hovering your mouse over it and clicking on the Edit link…

How To Use The WordPress Media Library

You can also edit the item by clicking on its file name and thumbnail image …

How To Use The WordPress Media Library

Important

Uploaded media such as Videos, Audios, PDF documents, etc… allow you to edit features such as your File Title, Caption and Description …

How To Use The WordPress Media Library

Image files, on the other hand, offer far greater editing options than other media types …

How To Use The WordPress Media Library

We have created a separate tutorial on how to edit images in the WordPress Media Library.

Deleting Media Files From The WordPress Media Library

To permanently delete an item from the  Library, hover your mouse over the item you want to delete and click on the Delete Permanently link …

How To Use The WordPress Media Library

Your media item will be permanently deleted …

How To Use The WordPress Media Library

See the Filtering Options section further below for instructions on how to delete multiple files.

Viewing Items Uploaded To The WordPress Media Library

You can view items you have uploaded to the WordPress Library by hovering your mouse over the item and clicking on the View link …

How To Use The WordPress Media Library

The item will be displayed as a separate post …

How To Use The WordPress Media Library

Additional Information – Table Of Media

Library items are displayed in a table, with all of your media items listed by row, and the newest uploaded item listed first …

How To Use The WordPress Media Library

The Table of Media contains the following columns:

[ ] – Check the box to select an item. Selected items can be processed by a Bulk Action.

Thumbnail – A thumbnail image of the item is displayed in this column.

File – This column displays the name of the file (Note: this is not the same as the filename of the uploaded media) …

How To Use The WordPress Media Library

The file’s type (e.g TXT, PNG, JPG, PDF) is displayed below the file’s name …

How To Use The WordPress Media Library

Author – This column lists the user who uploaded the item, or the file’s assigned author. Note: Files can be assigned a different author than the user who uploaded the file. See this tutorial for details on how to change authors for files.

Uploaded to – This column displays whether a file is unattached, or the Post or Page the file is attached to 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 a media file is unattached, an “Attach” link will appear allowing the file to be attached to selected Posts or Pages.

Comment Bubble – This column displays the number of comments a file has received …

Date – This column displays the time or date the file was uploaded.

How To Use The WordPress Media Library

Sort the Columns

The column headings in the Table of Media can be clicked to sort  items in ascending or descending order.

Hover over the column title (e.g. File), and the up arrow or down arrow will display. Click the heading to change the sort order of your media files …

How To Use The WordPress Media Library

Media Library Page Navigation

The number of items uploaded to your Library is displayed in the Table of Media, as well as the number of pages (if there is more than one page of media uploaded).

You can use the navigation arrows to skip to the first or last page, or to move backwards or forwards one page at a time. Also, you can enter a page number in the box showing the current page number to go directly to that page …

How To Use The WordPress Media Library

You can also specify the number of media items to display per page (see next section below).

Media Library Screen Options

The Screen Options allow you to choose which columns are displayed, or not displayed, in the Table of Media.

Click the Screen Options tab on the top right-hand corner of your Library screen …

How To Use The WordPress Media Library

A list of columns is displayed with a check-box next to each column. Check the box for each column that you want displayed in the Table of Media, or uncheck the box to hide that column.

You can also specify the number of items to display per page in the Table of Media. Remember to click the Apply button when finished to apply your new settings …

How To Use The WordPress Media Library

Click the Screen Options tab to close the Screen Options box.

Search Media

Above the Table, to the right, is a search box where you can enter one or more search terms and click the Search Media button to search and display all the files that include your search terms …

How To Use The WordPress Media Library

Your search results are displayed in the Table of Media …

How To Use The WordPress Media Library

Note: Click All in the Library menu to reset your page and display all files in the Table of Media …

How To Use The WordPress Media Library

Filtering Options

At the top of the Media Library screen are links such as All, Images, Audio, Video, Unattached, etc. that allow you to display only media files of that type in the Table of Media when the link is clicked …

How To Use The WordPress Media Library

Below these links are the Bulk Actions drop-down menu, Apply button, Show all dates drop-down menu and the Filter button …

How To Use The WordPress Media Library

Bulk Actions Drop-Down Menu – You can perform Bulk Actions on one or more media files selected in the Table of Media.Current;y, the only Bulk Action allowed for media files is to permanently delete all selected files.

To use the Bulk Actions filter, (1) select the checkbox(es) for all media files you want to delete. Do this by ticking each box individually, or click on the column header checkbox to select all media files (unchecking the header or footer title bar checkbox will cause all entries in the table to be unchecked), then (2) select Delete Permanently from the Bulk Actions drop-down menu,and (3) click the Apply button …

How To Use The WordPress Media Library

Show all Dates – This dropdown allows you to select which media files are displayed in the Table of Media by date. By default, “Show all dates” is selected and all of your files are displayed.

To filter media files by upload date, (1) select one of the available dates from the Show all dates drop-down menu, and (2) click on the Filter button to apply the filter selection …

How To Use The WordPress Media Library

Plugins

If you plan to use media frequently, there are a number of plugins you can add to your WordPress site to enhance your Library functionality and help you better manage and organize your uploaded media, like Media Library Assistant

How To Use The WordPress Media Library

Go here for a tutorial on how to use plugins to enhance your Media Library: How To Enhance Your Media Library

Congratulations! Now you know how to use the WordPress Media Library.

WordPress is huge and can sometimes be overwhelming about where to start. As you move on to the next Page, you will have a clearer picture of where to start and progress to building a professional WordPress Site.

Related Tutorials

 

 

Author: Richard Lawal

WPTutorials is published by Richard Lawal . Learn more about thewordpresstutorials.co.uk/wordpress/

Leave a Reply

Your email address will not be published. Required fields are marked *


error: Content is protected !!