官术网_书友最值得收藏!

Managing media files with the Media Library

The Media Library allows you to manage all the media files (images, videos, and so on) in one place. The Media Library allows you to add, delete, and edit media files for further integration on your blog posts.

Getting ready

To access WordPress Media Library, log in to your WordPress Dashboard and go to Media | Library, located to the right of the screen.

Getting ready

How to do it...

  1. To add a new media file on the Media Library, click the Media option, in WordPress admin menu, and then click on Add new. A Select files button will be displayed. Simply click on it and select the media files from your hard drive.
  2. There are two uploaders available: the Flash uploader (which uses Adobe Flash technology) and the Browser uploader (which uses a good old input file HTML field). The Flash uploader allows you to select multiple files at once, while the browser uploader allows you to upload only one file at a time. With WordPress 2.6, the Flash uploader wasn't working on Mac OS and GNU/Linux platforms. This has been fixed with WordPress 2.7. However, if you have any issues with Flash uploader, the Browser uploader will always work.

To delete the media, carry out the following steps:

  1. Deleting media is an easy process. On the Media Library, simply hover an item and the Edit, Delete, and Views buttons will be displayed.
  2. Click on Delete and the media will be deleted for good.

For bulk media deletion, carry out the following steps:

  1. If you need to delete around 5 or 10 media files, WordPress allows you to erase all the undesired files at once.
  2. To do so, simply go to the Media Library and check the checkboxes related to the media you want to delete.
  3. Select the Delete option in the Bulk Actions drop-down list (located on the top left of the page) and then click on the Apply button.
    How to do it...

All media files can be edited. You can change its title and add a caption or description. Carry out the following steps to do so:

  1. Go to the Media Library.
  2. Hover the mouse over the item you'd like to edit and click on the Edit link which appears.
  3. A new page opens, allowing you to define the file settings.
  4. Click on the Apply button when you're done editing the file settings.
How to do it...

How it works...

The Media Library allows you to manage, upload, and delete media files. Unlike adding or deleting media files directly on your server by using a FTP program, the Media Library ensures that database entries related to media are updated or deleted, depending on the action you have taken.

主站蜘蛛池模板: 昔阳县| 霍山县| 兴山县| 中西区| 金平| 乌拉特后旗| 青州市| 廊坊市| 天水市| 关岭| 象州县| 康保县| 威信县| 抚顺县| 南溪县| 梨树县| 正安县| 沭阳县| 历史| 九龙县| 台北县| 北碚区| 陵川县| 靖宇县| 德州市| 永年县| 廊坊市| 习水县| 丁青县| 五家渠市| 阿拉善盟| 涟水县| 嘉兴市| 塔河县| 多伦县| 乌拉特后旗| 卢龙县| 河曲县| 克什克腾旗| 务川| 上林县|