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

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.

主站蜘蛛池模板: 安阳市| 东乡族自治县| 桐柏县| 桑日县| 阿合奇县| 密云县| 河间市| 高陵县| 四会市| 抚远县| 天台县| 永年县| 沭阳县| 德惠市| 呼伦贝尔市| 得荣县| 沛县| 特克斯县| 黄石市| 柳州市| 夹江县| 乌兰浩特市| 三亚市| 措勤县| 许昌县| 修武县| 井冈山市| 潍坊市| 乳山市| 河池市| 昌邑市| 收藏| 平泉县| 依安县| 安徽省| 视频| 胶州市| 贵港市| 南江县| 横山县| 天津市|