| @@ -1,15 +1,14 @@ | ||
| 1 | -=== Image Source Control === | |
| 1 | +=== Plugin Name === | |
| 2 | 2 | Contributors: webzunft |
| 3 | -Tags: image, images, picture, picture source, image source, mediathek, media, caption, copyright | |
| 4 | -Requires at least: 5.0 | |
| 5 | -Tested up to: 5.3 | |
| 6 | -Stable tag: 1.10.5 | |
| 7 | -Requires PHP: 5.6 | |
| 3 | +Tags: image, images, picture, picture source, image source, mediathek | |
| 4 | +Requires at least: 3.4 | |
| 5 | +Tested up to: 3.8 RC1 | |
| 6 | +Stable tag: 1.3.5 | |
| 8 | 7 | License: GPLv3 or later |
| 9 | 8 | License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 10 | 9 | |
| 11 | -The Image Source Control manages image sources, displays them and warns if they are missing. | |
| 10 | +The Image Source Control saves the source of an image, lists them and warns if it is missing. | |
| 12 | 11 | |
| 13 | 12 | == Description == |
| 14 | 13 | |
| 15 | 14 | Did you ever forget to add the source to an image file in the frontend and the lawyer of the copyright holder knocked on your door? |
| @@ -15,79 +14,27 @@ | ||
| 15 | 14 | Did you ever forget to add the source to an image file in the frontend and the lawyer of the copyright holder knocked on your door? |
| 16 | 15 | |
| 17 | 16 | Image Source Control (ISC) helps to prevent this situation. |
| 18 | 17 | |
| 19 | -> <strong>version 2.0</strong> | |
| 20 | -> | |
| 21 | -> Version 2.0 is in the making with a lot of improvements and fixes | |
| 22 | -> I would appreciate anyone who would download and test it from | |
| 23 | -> https://github.com/webgilde/image-source-control | |
| 24 | -> | |
| 25 | -> Please report any issues directly in github. | |
| 18 | +**Features** | |
| 26 | 19 | |
| 27 | -**Image Sources Lists** | |
| 28 | - | |
| 29 | -You can choose between different image source list types: | |
| 30 | - | |
| 31 | -* source as image caption/overlay (not compatible with all themes) | |
| 32 | -* source list below the content | |
| 33 | -* combined source list of all images | |
| 34 | - | |
| 35 | -**Frontend Features** | |
| 36 | - | |
| 37 | -* display sources for images in content, galleries, shortcodes and featured images | |
| 38 | -* show image source directly in the image (not working with all images and themes) | |
| 39 | -* include a list with all images and their sources of the current page/post | |
| 40 | -* include a list with all images and their sources of the whole website | |
| 41 | -* attach lists below the content automatically or using shortcodes or template functions | |
| 42 | -* display image sources on archive pages | |
| 43 | - | |
| 44 | -**Backend Features** | |
| 45 | - | |
| 46 | -* manage image source within media dashboard and in the Image block settings | |
| 47 | -* mark an image to belong to the uploader | |
| 20 | +* adds an extra field (custom field) to mediathek to include the image source into | |
| 21 | +* lets you mark an image to belong to the uploader | |
| 48 | 22 | * lists images with missing sources in the backend |
| 23 | +* show image source directly in the image | |
| 49 | 24 | * warnings, if image source is missing |
| 50 | -* link sources to any url | |
| 51 | -* manage, display and link licenses | |
| 25 | +* shortcode to list the sources in the editor | |
| 26 | +* shortcode to list all images in the blog as a paginated list | |
| 27 | +* function to include sources of a post in templates | |
| 52 | 28 | |
| 53 | 29 | **Localization** |
| 54 | 30 | |
| 55 | 31 | English, German |
| 56 | 32 | |
| 57 | -== Instructions == | |
| 33 | +**Instructions** | |
| 58 | 34 | |
| 59 | -Also have a look at the [image source control website](http://webgilde.com/en/image-source-control/image-source-control-manual/). | |
| 35 | +Find instructions under *Other Notes* or at the <a href="http://webgilde.com/en/image-source-control/image-source-control-manual/">image source control website</a>. | |
| 60 | 36 | |
| 61 | -Find a list of images with missing sources under _Media > Missing sources_ | |
| 62 | - | |
| 63 | -**Automatic image sources** | |
| 64 | - | |
| 65 | -You can choose to display image sources automatically below the post content or as a small overlay above your images. Just visit the settings page of the plugin to enable those options. | |
| 66 | - | |
| 67 | -**Manually included image sources on pages/posts** | |
| 68 | - | |
| 69 | -You can add the image source list manually to pages or post via the shortcode `[isc_list]` in your content editor. You can use `[isc_list id="123]` to show the list of any post or page. | |
| 70 | - | |
| 71 | -You can also add the list with the function `isc_list()` within the loop in your template files. Use `isc_list( $post_id )` to show the image source list outside the loop. | |
| 72 | - | |
| 73 | -You should also check first if the function exists before using it: | |
| 74 | -`<?php if( function_exists('isc_list') ) { isc_list(); } ?>` | |
| 75 | - | |
| 76 | -**List all image sources** | |
| 77 | - | |
| 78 | -You can add a paginated list with ALL attachments and sources attached to posts and pages using the shortcode `[isc_list_all]`. | |
| 79 | - | |
| 80 | -Use `[isc_list_all per_page="25"]` to show only a limited number of images per page. | |
| 81 | - | |
| 82 | -Use `[isc_list_all included="all"]` to show all attachments in the list, including those not explicitly attached to a post. | |
| 83 | - | |
| 84 | -The plugin searches your post content and thumbnail for images (attachments) and lists them, if you included at least the image source or marked it as your own image. | |
| 85 | - | |
| 86 | -== Legal Notice == | |
| 87 | - | |
| 88 | -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 89 | - | |
| 90 | 37 | == Installation == |
| 91 | 38 | |
| 92 | 39 | This section describes how to install the plugin and get it working. |
| 93 | 40 | |
| @@ -96,180 +43,126 @@ | ||
| 96 | 43 | 1. Upload `wg-image-source-control`-folder to the `/wp-content/plugins/` directory |
| 97 | 44 | 1. Activate ISC through the 'Plugins' menu in WordPress |
| 98 | 45 | 1. Visit _Settings > Image Control_ to set up the plugin |
| 99 | 46 | |
| 100 | -See the _Instructions_ section [here](https://wordpress.org/plugins/image-source-control-isc/#description). | |
| 101 | - | |
| 102 | 47 | == Screenshots == |
| 103 | 48 | |
| 104 | -1. edit image source settings in the Image block | |
| 105 | 49 | 1. display a list with all images of your site and their sources |
| 106 | 50 | 1. display image source within the image |
| 107 | -1. some of the settings to customize how to display image sources | |
| 51 | +1. plenty of settings to customize how to display image sources | |
| 52 | +1. added two new fields to media library | |
| 108 | 53 | |
| 109 | 54 | == Changelog == |
| 110 | 55 | |
| 111 | -= 1.10.5 = | |
| 56 | += 1.3.5 = | |
| 112 | 57 | |
| 113 | -* hotfix for WordPress 5.5 breaking classic and other custom editors | |
| 58 | +* [feature] added hooks to enable developers to add their own images to the image source list (more information in the [manual](http://webgilde.com/en/image-source-control/image-source-control-manual/)) | |
| 59 | +* [feature] added image licences | |
| 60 | +* updated settings page layout so it works WordPress 3.8 RC1 | |
| 61 | +* [l10n] updated German translation | |
| 114 | 62 | |
| 115 | -= 1.10.4 = | |
| 63 | += 1.3.4 = | |
| 116 | 64 | |
| 117 | -* fixed block editor files being loaded in the frontend | |
| 65 | +* [bugfix] fixed the problem when the plugin is used with wpdirauth plugin. | |
| 118 | 66 | |
| 119 | -= 1.10.3 = | |
| 67 | += 1.3.3 = | |
| 120 | 68 | |
| 121 | -* fixed JavaScript bug in block editor with WordPress 5.3 | |
| 69 | +* [bugfix] fixed problems with special characters like German umlauts (äöü) in file names | |
| 70 | +* added .jpeg to allowed image extensions | |
| 122 | 71 | |
| 123 | -= 1.10.2 = | |
| 72 | += 1.3.2 = | |
| 124 | 73 | |
| 125 | -* removed CSS class which was set automatically in the image block | |
| 74 | +* added missing files | |
| 126 | 75 | |
| 127 | -= 1.10.1 = | |
| 76 | += 1.3.1 = | |
| 128 | 77 | |
| 129 | -* fix for block translations | |
| 78 | +* [bugfix] list featured images with the 'isc_list_all' shortcode; please resave posts with featured images to see them in the list | |
| 130 | 79 | |
| 131 | -= 1.10 = | |
| 80 | += 1.3.0 = | |
| 132 | 81 | |
| 133 | -* added image source settings to Image block | |
| 82 | +* [feature] hide the image source list under the post/page (default: visible) | |
| 83 | +* [feature] use uploader as the image author, not the posts author | |
| 84 | +* [feature] warnings, if image is saved without image source | |
| 85 | +* [feature] show image source directly within the image; you can choose the position | |
| 86 | +* [fixed] update issues | |
| 134 | 87 | |
| 135 | -= 1.9.7 = | |
| 88 | += 1.2.0.3 = | |
| 136 | 89 | |
| 137 | -* changed `licence` string to `license` to match en_US language base | |
| 138 | -* extended list of copyright licenses | |
| 90 | +* [fixed] solid fix for an issue occurring on updating to version 1.2 | |
| 139 | 91 | |
| 140 | -= 1.9.6 = | |
| 92 | += 1.2.0.2 = | |
| 141 | 93 | |
| 142 | -* fixed issue using [isc_list] without overlays | |
| 94 | +* broken fix, DON'T use this version | |
| 143 | 95 | |
| 144 | -= 1.9.5 = | |
| 96 | += 1.2.0.1 = | |
| 145 | 97 | |
| 146 | -* removed additional output introduced in 1.9.3 | |
| 98 | +* really hot fix for problems some of you experienced after updating to version 1.2. | |
| 147 | 99 | |
| 148 | -= 1.9.4 = | |
| 100 | += 1.2 = | |
| 149 | 101 | |
| 150 | -* fixed index error | |
| 102 | +* [feature] added an option panel under settings to customize most frontend texts | |
| 103 | +* [feature] show image thumbnails in the list of all images | |
| 104 | +* [feature] you can add a backlink to the authors page under the image list (optional) | |
| 105 | +* [feature] you can now display the real posts author name when an image is marked as "by the author" | |
| 106 | +* [feature] link to posts from the image list | |
| 107 | +* [fixed] added a more flexible post-image connection to list all posts with a specific image in the list with all images | |
| 108 | +* [fixed] image list: don't list images that are currently not used in any post | |
| 109 | +* [fixed] no need to initially run the image index after first installing the plugin | |
| 110 | +* [l10n] updated German localization | |
| 151 | 111 | |
| 152 | -= 1.9.3 = | |
| 112 | += 1.1.3 = | |
| 153 | 113 | |
| 154 | -* prevent image source overlay on full image source list and below | |
| 155 | -* optimized query of missing-sources check | |
| 156 | -* only check for missing sources when an image was uploaded or once every 24 hours | |
| 114 | +* [feature] shortcode to list all images conntected to all posts and pages as a paginated list | |
| 115 | +* [fixed] content filter now finds images that have been edited (like rotated) | |
| 116 | +* [fixed] checking for missing key to prevent error message | |
| 117 | +* [fixed] added link to plugin homepage with more details | |
| 157 | 118 | |
| 158 | -= 1.9.2 = | |
| 119 | += 1.1.2.1 = | |
| 159 | 120 | |
| 160 | -* prevent infinite loop for posts with automatic image source lists where images are not index yet | |
| 161 | -* moved German translation to wordpress.org | |
| 121 | +* [fixed] wrong user level check caused shortcode to not work for normal visitors | |
| 162 | 122 | |
| 163 | -= 1.9.1 = | |
| 123 | += 1.1.2 = | |
| 124 | +* [fixed] wrong version number in main file so wordpress.org didn't inform about updates | |
| 125 | +* [fixed] some minor coding standard issues | |
| 126 | +* [fixed] small text for donate link | |
| 127 | +* [fixed] plugin url | |
| 128 | +* [removed] donate link (will come back after 10.000 downloads ;) | |
| 164 | 129 | |
| 165 | -* delayed displaying source overlay by 100 ms to give images a chance to load their height | |
| 166 | -* fixed wrong height of the overlay being used | |
| 167 | -* fixed missing textdomain code to allow translations added through wordpress.org | |
| 130 | += 1.1.1 = | |
| 131 | +* [fixed] javascript file is now being loaded and missing fields can be added | |
| 132 | +* [feature] added button to reload the missing sources page after fields have been added | |
| 133 | +* [locale] updated German translation | |
| 168 | 134 | |
| 169 | -= 1.9 = | |
| 135 | += 1.1 = | |
| 136 | +* [fixed] show image sources under the post | |
| 137 | +* [fixed] display "checked" attribute in frontend | |
| 138 | +* [fixed] don't display image titles in image source list without a source | |
| 139 | +* [feature] show sources for all images visible in the post content, not the post gallery | |
| 140 | +* [feature] automatically load image source list first time a post is displayed after plugin installation | |
| 170 | 141 | |
| 171 | -THIS UPDATE CONTAINS SOME BASIC CHANGES ON HOW IMAGES ARE DETECTED IN THE CONTENT. PLEASE TEST IT. | |
| 142 | += 1.0 = | |
| 143 | +* initial submittion | |
| 144 | +* [feature] Added image source fields to mediathek | |
| 145 | +* [feature] List images with missing sources | |
| 146 | +* [feature] Shortcode to include the sources in content fields | |
| 147 | +* [feature] Function to include sources of a post in templates | |
| 172 | 148 | |
| 173 | -Please [reach out](https://wordpress.org/support/plugin/image-source-control-isc) in case you are suddenly missing any image sources. | |
| 149 | +== Instructions == | |
| 174 | 150 | |
| 175 | -* rewritten the way how images are detected in the content of the post or page | |
| 176 | -* replaced use of image url with attachment ID where possible to lift some heavy loads | |
| 177 | -* fix for image names including dimensions (e.g., 300x250) | |
| 178 | -* works with version 2.4.0 of Gutenberg plugin | |
| 179 | -* place overlay correctly even when page continues to shift after being loaded | |
| 180 | -* load public JavaScript in footer by default | |
| 181 | -* prevent saving ISC post meta information on non-public post types | |
| 151 | +Also have a look at the <a href="http://webgilde.com/en/image-source-control/image-source-control-manual/">image source control manual</a>. | |
| 182 | 152 | |
| 183 | -= 1.8.11.2 = | |
| 153 | +Find a list of images with missing sources under _Mediathek > Missing sources_ | |
| 184 | 154 | |
| 185 | -* fixed align value not being understood correctly | |
| 155 | +**image sources on pages/posts** | |
| 186 | 156 | |
| 187 | -= 1.8.11.1 = | |
| 157 | +You can add the image source list to pages or post via the shortcode [isc_list] in your content editor. You can use `[isc_list id="123]` to show the list of any post or page. | |
| 188 | 158 | |
| 189 | -* fixed missing index issue | |
| 190 | -* call parent class in admin class constructor | |
| 159 | +You can also add the list with the function `isc_list()` within the loop in your template files. Use `isc_list( $post_id )` to show the image source list outside the loop. | |
| 191 | 160 | |
| 192 | -= 1.8.11 = | |
| 161 | +You should also check first if the function exists before using it: | |
| 162 | +`<?php if( function_exists('isc_list') ) { isc_list(); } ?>` | |
| 193 | 163 | |
| 194 | -* cleanup | |
| 195 | -* removed log spam introduced with 1.8.10 | |
| 196 | -* prevent SQL injection through crafted img src attributes | |
| 164 | +**list all image sources** | |
| 197 | 165 | |
| 198 | -= 1.8.10.1 = | |
| 166 | +You can add a paginated list with ALL attachments and sources to a post or page using the shortcode [isc_list_all]. Use `[isc_list_all per_page="25"]` to show only a limited number of images per page. | |
| 199 | 167 | |
| 200 | -* hotfix for php below 5.3 | |
| 201 | - | |
| 202 | -= 1.8.10 = | |
| 203 | - | |
| 204 | -* don’t list images attached to non-public posts in the full image list, when only visible images should be displayed, thanks to heiglandreas | |
| 205 | -* added fallback to read images from galleries | |
| 206 | -* added `isc_get_image_by_url_query` filter | |
| 207 | -* fixed image list being empty due to autosave | |
| 208 | -* read src from attribute according to dom documentation, thanks to heiglandreas | |
| 209 | -* tested with WordPress 4.4 beta 4 | |
| 210 | - | |
| 211 | -= 1.8.9 = | |
| 212 | - | |
| 213 | -* rather use than error-log query | |
| 214 | - | |
| 215 | -= 1.8.8 = | |
| 216 | - | |
| 217 | -* search for image urls regardless of their used protocol (http or https) | |
| 218 | - | |
| 219 | -= 1.8.6 | 1.8.7 = | |
| 220 | - | |
| 221 | -* removed duplicate post links on full source list | |
| 222 | - | |
| 223 | -= 1.8.5 = | |
| 224 | - | |
| 225 | -* fixed deprecated sanitize_url() | |
| 226 | - | |
| 227 | -= 1.8.4 = | |
| 228 | - | |
| 229 | -* [feature] added option to display all images in the full list, not just those visible in posts | |
| 230 | -* [fixed] default author text not showing up | |
| 231 | - | |
| 232 | -= 1.8.3 = | |
| 233 | - | |
| 234 | -* [fixed] saving pre text for source overlay, thanks to maler.whick | |
| 235 | - | |
| 236 | -= 1.8.2 = | |
| 237 | - | |
| 238 | -* [feature] show image sources for changed images | |
| 239 | -* [feature] show image sources for images with query parameters | |
| 240 | - | |
| 241 | -= 1.8.1 = | |
| 242 | - | |
| 243 | -* [fixed] set default value for new option to prevent error message | |
| 244 | - | |
| 245 | -= 1.8 = | |
| 246 | - | |
| 247 | -* [feature] display image sources on archive pages (see settings) | |
| 248 | -* [feature] use `isc_thumbnail_source()` to display thumbnail source in templates | |
| 249 | -* [feature] added image sources for galleries and other shortcodes | |
| 250 | -* updated German translation | |
| 251 | - | |
| 252 | -= 1.7.3 = | |
| 253 | - | |
| 254 | -* [fixed] bug on ajax calls preventing the source fields to show up on ajax called pages in the dashboard | |
| 255 | -* [fixed] bug on multisite update | |
| 256 | -* [optimized] don’t hide setting boxes | |
| 257 | -* [optimized] finished moving all publically needed function to its own class | |
| 258 | - | |
| 259 | -= 1.7.2 = | |
| 260 | - | |
| 261 | -* [fixed] error message shown when list type settings was empty or unsaved | |
| 262 | -* [fixed] source overlay showing if no image source was set for it | |
| 263 | -* [optimized] trim source input | |
| 264 | - | |
| 265 | -= 1.7.1 = | |
| 266 | - | |
| 267 | -* [fixed] source list function referring to the wrong plugin class | |
| 268 | - | |
| 269 | -= 1.7.0 = | |
| 270 | - | |
| 271 | -* [optimized] manage different source display types on top of settings page | |
| 272 | -* [optimized] renamed settings page to "Image Sources" | |
| 273 | -* [removed] hiding source list elements in the frontend is no longer possible | |
| 274 | -* [fixed] show source list not only below posts, but every other post type | |
| 275 | -* [fixed] removed screenshots from main plugin files | |
| 168 | +The plugin searches your post content and thumbnail for images (attachments) and lists them, if you included at least the image source or marked it as your own image. | |