Managing Media

Description Description

This lesson plan discusses the various ways that WordPress Media Manager handles media.

In this lesson plan you will learn how to upload and insert image files, document files, audio files and video files.  You will also learn how to re-size, format, link and include these media files into your posts and pages.

Top ↑

Prerequisite Skills Prerequisite Skills

Top ↑

Assets Assets

Top ↑

Screening Questions Screening Questions

  • Are you familiar with the WordPress Dashboard?
  • Do you have at least a basic knowledge of image file types (.jpg .png .gif)?
  • Do you have at least a basic knowledge of document file types (.doc .xls .pps .pdf)?
  • Do you have at least a basic knowledge of audio file types (.mp3 .m4a .ogg .wav)?
  • Do you have at least a basic knowledge of video file types (.mp4, .m4v MPEG-4 .mov .wmv .avi .mpg .ogv .3gp .3g2)?
  • Do you know where to find them on your computer?

Top ↑

Teacher Notes Teacher Notes

  • Performing a live demo while teaching the steps of this lesson is crucial to having the material “click” with the students.
  • It is easier for students to work on a locally installed copy of WordPress. Set some time aside before class to assist students with installing WordPress locally if they need it. For more information on how to install WordPress locally, please visit our Teacher Resources page.
  • While we would like participants to understand the different file types, it’s not critical. As long as they are uploading one of the accepted file types they will learn from this module.

Top ↑

Hands-on Walkthrough Hands-on Walkthrough

We’re going to get started by having everyone log into their local WordPress install.  Now, let’s each create a sample post or page with text (lorem ipsum is fine). We’ll also each need to have a sample image, document, audio file and/or video file on our computers and  ready to upload. We are going to embed the media files into a post or page.

Images Images

Adding media

Adding media

We will start with both inserting an image from a URL and giving it a title or by uploading an image and adding a title, caption, alternative text, and description.

First, pick an initial image alignment (Left, Center, Right or None). Next, pick a link option (None, Media File, Attachment Page, or Custom URL) and insert it into the post or the page.

While still in the visual editor, now change the size of the image by dragging a corner.

Let’s see how that looks by clicking “preview changes”.

Next we want to go back to the visual editor, click on the image once, click on the pencil edit and modify the image caption, alternative text, alignment, size and link to something else.  Do this with several options, giving each an “update” and then “preview” to see the changes.

Top ↑

Documents Documents

Uploading a document

Uploading a document

For documents, let’s start with a body of text.

Next, decide where to place the document link within the body of text.

Once you have chosen a place for the linked document, upload a .pdf or similar type of document.

Now change the following pieces of metadata:

  • Title
  • Caption
  • Description of the link

Next, let’s change the “Link To” to media file or attachment file.

Now let’s upload another document but use the other “Link To” option.

Once we have both documents added to the page, let’s change the anchor text of each document to something that is easier to read.

By highlighting the link you’ll be able to edit the link to open in a new tab and have an alt title.

Your published page with the uploaded document should look similar to this:

uploaded documents with anchor text

uploaded documents with anchor text

Notice how the two links will look the same but act differently when clicked by a reader?


Top ↑

Sound File Sound File

Sound file embed options

Sound file embed options

For a sound file, let’s start with a body of text.

Decide where you want to place the sound file within the body of text.

Once you have chosen a place for the sound file, upload a “.wav” or similar type of file.

Now change the following pieces of metadata:

  • Title
  • Artist
  • Album
  • Caption
  • Description

We’re going to use the same sound file but display it with all three options.

Embed all three different variations using “Embed Media Player”, “Link to Media File”, and “Link to Attachment Page” within your page or post.

The three links will look the same but act differently when clicked by a reader.

Highlight each link, edit the link to open in a new tab and have an alt title.

The published page with the uploaded file should look similar to this:

Sample sound file embed

Sample sound file embed variations

Notice how the embed option works and the two links below will look the same but act differently when clicked by a reader?


Top ↑

Video File Video File

For the video file let’s start with a new post. We will not need sample text for this one.

Once we have the new post, let’s upload the sample video file and then change the “Title”, “Caption”, and “Description” for the file.

Changing the title, caption, and description

Changing the title, caption, and description

Now we can insert the video file into the post using the Embed Media Player option.

Next, we’ll once again use the same video file and insert it into your post using the “Link to Media File” option.

Finally, insert the same video file into your post using the “Link to Attachment Page” option.

available attach display settings

available attach display settings

Once all three options are on the same page, publish the post.  The resulting post should look something like this.

Published post with the same video inserted with all three display options

Published post with the same video inserted with all three display options

Now click on each of the links to see how each video behaves for the reader.

Top ↑

Exercises Exercises

Images

  • Insert an image into a body of text.
  • Add a title, caption, alternative text, and description.
  • Change the image placement from “None” to “Center” to “Right” to “Left”.
  • Change the image size by dragging a corner or by clicking the pencil edit.
  • Change what the image links to (media file, attachment page, custom URL, or none).

Documents

  • Insert a document into a post or page.
  • Add a title, caption, alternative text, and description.
  • Choose between “Link to Media File” or “Link to Attachment Page”.

Audio

  • Insert an audio file into a post or a page.
  • Add a title, artist, album, caption, and description.
  • Choose between “Embed Media Player”, “Link to Media File” or “Link to Attachment Page”.

Video

  • Insert a video file into a post or a page.
  • Add a title, caption, and description.
  • Choose between “Embed Media Player”, “Link to Media File” or “Link to Attachment Page”.

Top ↑

Quiz Quiz

You can upload anything into your media folders that you like.

  1. True
  2. False

Answer: 1. True

You should size your images to the exact size you want before you upload them to the Media Manager.

  1. True
  2. False

Answer: 2. False

Which of the following are not available labels for sound files?

  1. Title
  2. Artist
  3. Album
  4. Caption
  5. Genre
  6. Description

Answer: 5. Genre

Which of the following formats CAN NOT be uploaded? 

  1. .jpg
  2. .png
  3. .gif
  4. .tiff
  5. .bmp

Answer: 4. .tiff and 5. .bmp

 

Top ↑

Additional resources Additional resources

Managing Media in WordPress