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