| 1 |
=== Plugin Name === |
| 2 |
Contributors: webzunft |
| 3 |
Tags: image, images, picture, picture source, image source, mediathek |
| 4 |
Requires at least: 3.4 |
| 5 |
Tested up to: 3.5 |
| 6 |
Stable tag: 1.2.0.3 |
| 7 |
License: GPLv3 or later |
| 8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 9 |
|
| 10 |
The Image Source Control saves the source of an image, lists them and warns if it is missing. |
| 11 |
|
| 12 |
== Description == |
| 13 |
|
| 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 |
|
| 16 |
Image Source Control (ISC) helps to prevent this situation. |
| 17 |
|
| 18 |
**Features** |
| 19 |
|
| 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 posts author |
| 22 |
* lists images with missing sources in the backend |
| 23 |
* shortcode to list the sources in the editor |
| 24 |
* shortcode to list all images in the blog as a paginated list |
| 25 |
* function to include sources of a post in templates |
| 26 |
|
| 27 |
**Localization** |
| 28 |
|
| 29 |
English, German |
| 30 |
|
| 31 |
**Instructions** |
| 32 |
|
| 33 |
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>. |
| 34 |
|
| 35 |
== Installation == |
| 36 |
|
| 37 |
This section describes how to install the plugin and get it working. |
| 38 |
|
| 39 |
e.g. |
| 40 |
|
| 41 |
1. Upload `wg-image-source-control`-folder to the `/wp-content/plugins/` directory |
| 42 |
1. Activate ISC through the 'Plugins' menu in WordPress |
| 43 |
|
| 44 |
== Screenshots == |
| 45 |
|
| 46 |
1. Missing sources page to list images with missing source. |
| 47 |
2. Two extra fields from ISC in mediathek |
| 48 |
|
| 49 |
== Changelog == |
| 50 |
|
| 51 |
= 1.2.0.3 = |
| 52 |
|
| 53 |
* [fixed] solid fix for an issue occuring on updating to version 1.2 |
| 54 |
|
| 55 |
= 1.2.0.2 = |
| 56 |
|
| 57 |
* broken fix, DON'T use this version |
| 58 |
|
| 59 |
= 1.2.0.1 = |
| 60 |
|
| 61 |
* really hot fix for problems some of you experienced after updating to version 1.2. |
| 62 |
|
| 63 |
= 1.2 = |
| 64 |
|
| 65 |
* [feature] added an option panel under settings to customize most frontend texts |
| 66 |
* [feature] show image thumbnails in the list of all images |
| 67 |
* [feature] you can add a backlink to the authors page under the image list (optional) |
| 68 |
* [feature] you can now display the real posts author name when an image is marked as "by the author" |
| 69 |
* [feature] link to posts from the image list |
| 70 |
* [fixed] added a more flexible post-image connection to list all posts with a specific image in the list with all images |
| 71 |
* [fixed] image list: don't list images that are currently not used in any post |
| 72 |
* [fixed] no need to initially run the image index after first installing the plugin |
| 73 |
* [l10n] updated German localization |
| 74 |
|
| 75 |
= 1.1.3 = |
| 76 |
|
| 77 |
* [feature] shortcode to list all images conntected to all posts and pages as a paginated list |
| 78 |
* [fixed] content filter now finds images that have been edited (like rotated) |
| 79 |
* [fixed] checking for missing key to prevent error message |
| 80 |
* [fixed] added link to plugin homepage with more details |
| 81 |
|
| 82 |
= 1.1.2.1 = |
| 83 |
|
| 84 |
* [fixed] wrong user level check caused shortcode to not work for normal visitors |
| 85 |
|
| 86 |
= 1.1.2 = |
| 87 |
* [fixed] wrong version number in main file so wordpress.org didn't inform about updates |
| 88 |
* [fixed] some minor coding standard issues |
| 89 |
* [fixed] small text for donate link |
| 90 |
* [fixed] plugin url |
| 91 |
* [removed] donate link (will come back after 10.000 downloads ;) |
| 92 |
|
| 93 |
= 1.1.1 = |
| 94 |
* [fixed] javascript file is now being loaded and missing fields can be added |
| 95 |
* [feature] added button to reload the missing sources page after fields have been added |
| 96 |
* [locale] updated German translation |
| 97 |
|
| 98 |
= 1.1 = |
| 99 |
* [fixed] show image sources under the post |
| 100 |
* [fixed] display "checked" attribute in frontend |
| 101 |
* [fixed] don't display image titles in image source list without a source |
| 102 |
* [feature] show sources for all images visible in the post content, not the post gallery |
| 103 |
* [feature] automatically load image source list first time a post is displayed after plugin installation |
| 104 |
|
| 105 |
= 1.0 = |
| 106 |
* initial submittion |
| 107 |
* [feature] Added image source fields to mediathek |
| 108 |
* [feature] List images with missing sources |
| 109 |
* [feature] Shortcode to include the sources in content fields |
| 110 |
* [feature] Function to include sources of a post in templates |
| 111 |
|
| 112 |
== Instructions == |
| 113 |
|
| 114 |
Also have a look at the <a href="http://webgilde.com/en/image-source-control/image-source-control-manual/">image source control manual</a>. |
| 115 |
|
| 116 |
Find a list of images with missing sources under _Mediathek > Missing sources_ |
| 117 |
|
| 118 |
**image sources on pages/posts** |
| 119 |
|
| 120 |
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. |
| 121 |
|
| 122 |
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. |
| 123 |
|
| 124 |
You should also check first if the function exists before using it: |
| 125 |
`<?php if( function_exists('isc_list') ) { isc_list(); } ?>` |
| 126 |
|
| 127 |
**list all image sources** |
| 128 |
|
| 129 |
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 per_page="25]` to show only a limited number of images per page. |
| 130 |
|
| 131 |
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. |