| 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.1.2.1 |
| 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 lawer 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 as your own |
| 22 |
* lists images with missing sources |
| 23 |
* shortcode to include the sources in content fields |
| 24 |
* function to include sources of a post in templates |
| 25 |
|
| 26 |
**Localization** |
| 27 |
|
| 28 |
English, German |
| 29 |
|
| 30 |
== Installation == |
| 31 |
|
| 32 |
This section describes how to install the plugin and get it working. |
| 33 |
|
| 34 |
e.g. |
| 35 |
|
| 36 |
1. Upload `wg-image-source-control`-folder to the `/wp-content/plugins/` directory |
| 37 |
1. Activate ISC through the 'Plugins' menu in WordPress |
| 38 |
|
| 39 |
== Screenshots == |
| 40 |
|
| 41 |
1. Missing sources page to list images with missing source. |
| 42 |
2. Two extra fields from ISC in mediathek |
| 43 |
|
| 44 |
== Changelog == |
| 45 |
|
| 46 |
= 1.1.2.1 = |
| 47 |
|
| 48 |
* [fixed] wrong user level check caused shortcode to not work for normal visitors |
| 49 |
|
| 50 |
= 1.1.2 = |
| 51 |
* [fixed] wrong version number in main file so wordpress.org didn't inform about updates |
| 52 |
* [fixed] some minor coding standard issues |
| 53 |
* [fixed] small text for donate link |
| 54 |
* [fixed] plugin url |
| 55 |
* [removed] donate link (will come back after 10.000 downloads ;) |
| 56 |
|
| 57 |
= 1.1.1 = |
| 58 |
* [fixed] javascript file is now being loaded and missing fields can be added |
| 59 |
* [feature] added button to reload the missing sources page after fields have been added |
| 60 |
* [locale] updated German translation |
| 61 |
|
| 62 |
= 1.1 = |
| 63 |
* [fixed] show image sources under the post |
| 64 |
* [fixed] display "checked" attribute in frontend |
| 65 |
* [fixed] don't display image titles in image source list without a source |
| 66 |
* [feature] show sources for all images visible in the post content, not the post gallery |
| 67 |
* [feature] automatically load image source list first time a post is displayed after plugin installation |
| 68 |
|
| 69 |
= 1.0 = |
| 70 |
* initial submittion |
| 71 |
* [feature] Added image source fields to mediathek |
| 72 |
* [feature] List images with missing sources |
| 73 |
* [feature] Shortcode to include the sources in content fields |
| 74 |
* [feature] Function to include sources of a post in templates |
| 75 |
|
| 76 |
== Instructions == |
| 77 |
|
| 78 |
Find a list of images with missing sources under _Mediathek > Missing sources_ |
| 79 |
|
| 80 |
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. |
| 81 |
|
| 82 |
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. |
| 83 |
|
| 84 |
You should also check first if the function exists before using it: |
| 85 |
`<?php if( function_exists('isc_list') ) { isc_list(); } ?>` |
| 86 |
|
| 87 |
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. |