Media Library

Information

It is possible to link files to a web page. However, be careful not to consider your site as a file server. If you have documents that should be made available outside of any web context, use Google Drive or Switch Drive instead.

The WordPress media library allows you to manage all files associated with pages or posts. It can be accessed from the side menu or, depending on the operations, when editing content.

For reasons mainly related to security, WordPress does not allow you to upload a certain type of files. The supported files are as follows:

  • Images: .jpg, .jpeg, .gif, .png, .ico
  • Documents: .pdf, .doc, .doc, .docx, .ppt, .pptx, .pps, .pps, .ppsx, .odt, .xls, .xlsx, .psd
  • Audio: .mp3, .mp4, .0gg, .wav
  • Video: .mp4, .m4v, .mov, .wmv, .avi, .mpg, .ogv, .3gp, .3g2

Adding a file to the Media library

You can add files in two ways :

  1. Directly in the Media library (see below)
  2. While editing a page or a post

Adding a file directly in the Media library

  1. In the Main Navigation Menu, Mouse over the Media item and click on Add new
  2. Click on Select Files (please note that you can also drag and drop files directly from your machine’s desktop onto the window)
  3. Cclick on the Library item in the Main Navigation Menu to display the list of files available in your website

The uploaded files appear at the root level (1st level) of the library. You can then move these files to a folder if you wish

Alternative way

Adding a file directly to a sub-folder

  1. In the Main Navigation Menu, click on Media
  2. Click on the destination sub-folder in the list on the left of the window
  3. Click on the Add New button next to Media Library
  4. Click on the Select Files button (you can also drag the files from your machine desktop)

Deleting files

There are several ways to delete files.

If necessary, use the search tool to locate your file(s)

In grid view

  1. Right-click on the file you wish to delete and choose Remove from the drop-down menu
  2. Click on Remove in the warning window

In list view

  1. Mouse over the file you wish to delete and click on Delete Permanently
  2. Click on OK in the warning window

or, if you wish to delete several files together

  1. Click on the checkbox located on the left of the file icon or thumbnail of the files you wish to delete
  2. Click on the Bulk Actions menu and choose Delete Permanently
  3. Click on Apply
  4. Click on OK in the warning window