Title: Zu Media
Author: Dmitry
Published: <strong>2021 年 4 月 13 日</strong>
Last modified: 2022 年 2 月 13 日

---

搜索插件

![](https://ps.w.org/zu-media/assets/banner-772x250.png?rev=2514302)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/zu-media/assets/icon.svg?rev=2514302)

# Zu Media

 作者：[Dmitry](https://profiles.wordpress.org/dmitryrudakov/)

[下载](https://downloads.wordpress.org/plugin/zu-media.2.3.3.zip)

 * [详情](https://cn.wordpress.org/plugins/zu-media/#description)
 * [评价](https://cn.wordpress.org/plugins/zu-media/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/zu-media/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/zu-media/#developers)

 [支持](https://wordpress.org/support/plugin/zu-media/)

## 描述

This plugin includes several enhancements to the WordPress Media Library that can
be used within specialized themes or separately. The plugin allows users to quickly
organize all their media into folders. You can easily drag and drop images into 
folders and change the tree view of the folders as you wish. The plugin also allows
you to calculate the dominant color for all images in your Media Library (which 
can then be used in different blocks or shortcodes), add different categories and
tags to images, create a set of media sizes to display Responsive Images, and much
more.

### Folders Features

 * Create unlimited folders in the Media Library
 * Allows to rename and delete folders
 * Drag and drop folders, change order, and hierarchy
 * Bulk select images and media files and drag them to any folder
 * Assign colors to selected folders
 * Lock folders – images in locked folders cannot be used for random selection
 * Customize the look and feel of your folders
 * Monitor orphaned media library files
 * Import folders from other plugins (WP Media Folder)
 * Responsive layout

### Other Features

 * Calculates the dominant color for all images in the Media Library
 * Adds a field displaying the dominant color to the image detail
 * Provides an API for getting the dominant color and updating it
 * Allows you to add post categories and post tags for images
 * Creates a new category ‘location’ and lets you manage it
 * Adds a new meta with the calculated image ratio and displays it in the image 
   detail
 * Registers a set of media sizes to display Responsive Images
 * Provides API for getting different image properties
 * Adds several new color schemes for admin
 * Compatible with the latest version of WordPress

## 屏幕截图

[⌊Plugin Settings Page⌉⌊Plugin Settings Page⌉[

Plugin Settings Page

[⌊Media Folders Settings Section⌉⌊Media Folders Settings Section⌉[

Media Folders Settings Section

[⌊Media Library with Folders⌉⌊Media Library with Folders⌉[

Media Library with Folders

[⌊Bulk drag & drop⌉⌊Bulk drag & drop⌉[

Bulk drag & drop

[⌊Drag & drop over folders tree⌉⌊Drag & drop over folders tree⌉[

Drag & drop over folders tree

[⌊Folders Toolbar⌉⌊Folders Toolbar⌉[

Folders Toolbar

## 安装

 1. Upload the `zu-media` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin using the `Plugins` menu in your WordPress admin panel.
 3. You can adjust the necessary settings using your WordPress admin panel in `Settings
    > Zu Media`.
 4. You can import folders form other plugins or create new folders in the Media Library
    and then easily organize your files with drag and drop.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Zu Media」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dmitry ](https://profiles.wordpress.org/dmitryrudakov/)

[帮助将「Zu Media」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/zu-media)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/zu-media/)，查看[SVN仓库](https://plugins.svn.wordpress.org/zu-media/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/zu-media/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/zu-media/)。

## 更新日志

### 2.3.3

 * **Zukit** updated to version 1.5.2
 * tested for compatibility with WP 5.9.0
 * fixed CSS of `Settings` (Safari)
 * changed `ecmaVersion` to 11
 * cleaning

### 2.3.1

 * tested for compatibility with WP 5.8.3

### 2.3.0

 * adapted to WordPress 5.8.2
 * reset admin color scheme if `Admin colors` add-on or the plugin was deactivated
 * implemented `get_folder_permalink`, `get_folder_props` and `folder_exists` methods
 * implemented `get_dominant_by_id` and `update_dominant_by_id` methods
 * implemented `get_media_taxonomy_link` method which could be used to get link 
   for Media Taxonomy
 * implemented `Rewrite Rules` panel
 * implemented `Flush Rewrite Rules` action and options to redefine rewrite rules
   for Media tags and category
 * added `inherit_privacy` option
 * added `get_all_images` method to return all public or private images in folders
 * register some methods to be used as `snippets`
 * refactoring `whenReady` into `whenNodeInserted`
 * refactoring dominant color to work with local path instead of link
 * refactoring `folders` error handling
 * refactoring public snippets with `register_snippet` method
 * changed structure of cached folders – now `id` is array index
 * renaming `zu-location-link` class to `location-link`
 * renaming `get_folder_by_image_id` to `get_folder_by_attachment_id`
 * renaming `get_gallery_by_image_id` to `get_gallery_by_attachment_id`
 * replacing deprecated jQuery methods
 * fixed bugs when thumb width or height is 0
 * fixed bug with wrong `Attachments Wrapper` selector
 * fixed bug in `is_private_image` method
 * fixed bug in `reset_cached` for collections
 * fixed bug in `landscaped` field
 * fixed bug when displaying the wrong WP width size
 * other small improvements

### 2.2.3

 * **Zukit** updated to version 1.2.3
 * modified `Sizes` table according to the changes in **Zukit**
 * min `php` and `wp` versions updated
 * tested for compatibility with WP 5.7.1
 * small improvements

### 2.2.2

 * fixed bug with loading `preview` styles in add-on
 * fixed bug with reloading `Sizes` table
 * adapted after refactoring `selectOption` and `toggleOption`
 * adapted after changing the position of the divider
 * adapted to other changes in Zukit
 * small CSS improvements

### 2.2.1

 * added logic for icons in WP version up to 5.5
 * improved JS and CSS for WP with version less than 5.5
 * changed license to GPL-2.0
 * tested for compatibility with WP 5.7
 * small improvements

### 2.2.0

 * refactoring `ratio` getter and public API methods
 * added icons, screenshots and readme
 * deleted all direct references to CSS prefix
 * improved css for some media breakpoints
 * introduced `boxed` mode
 * implemented Folders Preview for the Settings Page
 * added support for default folder color
 * implemented `locked` folders
 * added colored folders for tree
 * added `colors` panel for folders
 * added support for SVG folders
 * replaced deprecated jQuery methods
 * fixed bug with `breadcrumb`
 * fixed bug with `close` button
 * adapted to the latest changes in **Zukit**
 * added `Ajax` trait and implemented extension of `zudata` REST route
 * refactoring source folder structure
 * some optimization
 * small improvements

### 2.1.1

 * changed text domain from `zumedia` to `zu-media`
 * adapted to latest changes in **Zukit**
 * small improvements

### 2.1.0

 * implemented stable version of `Media Folders`
 * implemented `convert_taxonomy` via Ajax
 * implemented `fix_orphaned` utility
 * refactoring `ImageSizes` with new parent class
 * refactoring `AdminColors` with new parent class
 * moved `Location helpers` to trait
 * moved `Attachments helpers` to trait
 * replaced `zu()` calls to `snippets`
 * refactoring `cached` methods
 * added `disable_cache` option
 * implemented version of `Settings` page with Gutenberg support (with **Zukit**
   framework)

### 2.0.0

 * starting `folders` implementation

### 1.9.7

 * added `reset_cached` when plugin options updated (saved)

### 1.9.6

 * improved `attachements ID` in media popup
 * fixed work under WordPress 5.3

### 1.9.5

 * added `onlight` attribute to `gallery` shortcode

### 1.9.4

 * added language code to `cachekey` for galleries and folders

### 1.9.3

 * fixed bug if `$_post_id` does not exist

### 1.9.2

 * added check for `post_parent` in `All Attachements` meta box
 * added `Detach Image` action
 * added `detach_attachment()` function

## 额外信息

 *  版本 **2.3.3**
 *  最后更新：**4 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.3.0 或更高版本 **
 *  已测试的最高版本为 **5.9.0**
 *  PHP 版本 ** 7.2.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/zu-media/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[dominant color](https://cn.wordpress.org/plugins/tags/dominant-color/)
   [folders](https://cn.wordpress.org/plugins/tags/folders/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [media library folders](https://cn.wordpress.org/plugins/tags/media-library-folders/)
 *  [高级视图](https://cn.wordpress.org/plugins/zu-media/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/zu-media/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/zu-media/reviews/)

## 贡献者

 *   [ Dmitry ](https://profiles.wordpress.org/dmitryrudakov/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/zu-media/)