Upload and use files

A great feature of WordPress is an easy-to-use file manager, called the Media Library. This system lets you upload images, documents, and other files (a full list of allowed file MIME types for WordPress 3.4.2 is at the bottom of this page). Once uploaded, you’re given a URL to this file that can be used in your content, emailed, or shared any other way.

  1. Click Media in the admin screen. This will show all existing uploaded files, whether they were added here or in a post or page
  2. To use an existing file, just click the name of the file to see all the current information
  3. To add a new file:
    1. Click Add New in the admin menu or at the top
    2. Click Select Files and pick the file(s) you’d like to upload. Alternatively, drag a file (or files) from your file explorer window into the box. If you’re having trouble, click the browser uploader link

Once you’ve selected an existing file or uploaded a new one, you’ll see a form like this:

If you’re just uploading the file to use, simply copy the complete URL from the “File URL” field and you’re done (try loading that URL in your browser to be sure). The other fields are mostly organizational:

  • The “Title” field is mostly an internal field to help keep your files organized
  • The “Caption” is used in some places for images, depending on how the image is used and what theme you’re using
  • The “Description” is usually internal only, like the title

Allowed MIME types for WordPress version 3.4.2

    [jpg|jpeg|jpe] => image/jpeg
    [gif] => image/gif
    [png] => image/png
    [bmp] => image/bmp
    [tif|tiff] => image/tiff
    [ico] => image/x-icon
    [asf|asx|wax|wmv|wmx] => video/asf
    [avi] => video/avi
    [divx] => video/divx
    [flv] => video/x-flv
    [mov|qt] => video/quicktime
    [mpeg|mpg|mpe] => video/mpeg
    [txt|asc|c|cc|h] => text/plain
    [csv] => text/csv
    [tsv] => text/tab-separated-values
    [ics] => text/calendar
    [rtx] => text/richtext
    [css] => text/css
    [htm|html] => text/html
    [mp3|m4a|m4b] => audio/mpeg
    [mp4|m4v] => video/mp4
    [ra|ram] => audio/x-realaudio
    [wav] => audio/wav
    [ogg|oga] => audio/ogg
    [ogv] => video/ogg
    [mid|midi] => audio/midi
    [wma] => audio/wma
    [mka] => audio/x-matroska
    [mkv] => video/x-matroska
    [rtf] => application/rtf
    [js] => application/javascript
    [pdf] => application/pdf
    [doc|docx] => application/msword
    [pot|pps|ppt|pptx|ppam|pptm|sldm|ppsm|potm] => application/
    [wri] => application/
    [xla|xls|xlsx|xlt|xlw|xlam|xlsb|xlsm|xltm] => application/
    [mdb] => application/
    [mpp] => application/
    [docm|dotm] => application/
    [pptx|sldx|ppsx|potx] => application/vnd.openxmlformats-officedocument.presentationml
    [xlsx|xltx] => application/vnd.openxmlformats-officedocument.spreadsheetml
    [docx|dotx] => application/vnd.openxmlformats-officedocument.wordprocessingml
    [onetoc|onetoc2|onetmp|onepkg] => application/onenote
    [swf] => application/x-shockwave-flash
    [class] => application/java
    [tar] => application/x-tar
    [zip] => application/zip
    [gz|gzip] => application/x-gzip
    [rar] => application/rar
    [7z] => application/x-7z-compressed
    [exe] => application/x-msdownload
    [odt] => application/vnd.oasis.opendocument.text
    [odp] => application/vnd.oasis.opendocument.presentation
    [ods] => application/vnd.oasis.opendocument.spreadsheet
    [odg] => application/
    [odc] => application/vnd.oasis.opendocument.chart
    [odb] => application/vnd.oasis.opendocument.database
    [odf] => application/vnd.oasis.opendocument.formula
    [wp|wpd] => application/wordperfect