-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
168 lines (153 loc) · 6.9 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
=== Zu Media ===
Contributors: dmitryrudakov
Tags: gutenberg, folders, dominant color, admin, media library folders, media library
Requires at least: 5.3.0
Tested up to: 5.9.0
Stable tag: 2.3.3
License: GPLv2 or later
Requires PHP: 7.2.0
Enhances WordPress Media Library with some features (folders, dominant color, location category and others).
== Description ==
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
== Installation ==
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.
== Screenshots ==
1. Plugin Settings Page
2. Media Folders Settings Section
3. Media Library with Folders
4. Bulk drag & drop
5. Drag & drop over folders tree
6. Folders Toolbar
== Changelog ==
### 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