Title: Image Credits
Author: Adam Capriola
Published: <strong>23.12.2012</strong>
Last modified: 18.04.2014

---

ჩადგმების ძებნა

![](https://ps.w.org/image-credits/assets/banner-772x250.png?rev=643810)

ეს პლაგინი **არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე**. როგორც ჩანს, ის უკვე
აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

![](https://s.w.org/plugins/geopattern-icon/image-credits_ffffff.svg)

# Image Credits

 ავტორი: [Adam Capriola](https://profiles.wordpress.org/adamcapriola/)

[ჩამოტვირთვა](https://downloads.wordpress.org/plugin/image-credits.1.1.zip)

 * [დეტალები](https://ka.wordpress.org/plugins/image-credits/#description)
 * [მიმოხილვა](https://ka.wordpress.org/plugins/image-credits/#reviews)
 *  [დაყენება](https://ka.wordpress.org/plugins/image-credits/#installation)
 * [დეველოპმენტი](https://ka.wordpress.org/plugins/image-credits/#developers)

 [მხარდაჭერა](https://wordpress.org/support/plugin/image-credits/)

## აღწერა

Adds source name and URL fields for media uploads along with a shortcode for displaying
image credits for all images within an entry, including its featured image.

WordPress natively doesn’t provide the ability to manage where you’ve pulled different
media from, so this can be helpful in making sure you provide links back to the 
contents’ creators.

## ეკრანული სურათები

[⌊Example usage.⌉⌊Example usage.⌉[

Example usage.

## დაყენება

 1. Upload `image-credits` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the _Plugins_ menu in WordPress.
 3. Use the shortcode `[image-credits]` or function `get_image_credits();` to display
    credits for all the images used within an entry, including the featured image.

## ხდკ

  How do I display the image credits?

Use the shortcode `[image-credits]` or function `get_image_credits();`.

**[image-credits]** can accept _before_, _after_, and _sep_ (seperator) parameters.
By default, the before is “Image Credits: ” and the separator is “, ” (a comma plus
a space). Example modified usage:

    ```
    [image-credits before="Image Credits... " sep=" - "]
    ```

**get_image_credits();** accepts one parameter, _$seperator_, which is again by 
default “, ” and returns the results (doesn’t echo). You will either need to return
or echo the function depending on your code.

  I’m not good at coding and don’t want to manually put the shortcode in every single
one of my posts. Can you give me some example code to work with?

Sure. Throw this into your theme’s functions.php file and the image credits will
appear at the bottom of every post:

    ```
    /**
     * Add image credits to the end of posts
     * 
     */
    add_filter( 'the_content', 'ac_image_credits' );

    function ac_image_credits( $content ) {

        if ( is_singular( 'post' ) ) {

            $content .= '<p>[image-credits]</p>';

        }

        return $content;

    }
    ```

  Which image credits does it display?

Both the shortcode and function will get the credits for all images contained within
the post content, including the featured image.

It searches through the post content for attachment IDs rather than get the IDs 
of the images attached to the post because sometimes you may upload an image then
not actually use it, or you may reuse an image that is attached to an old post. 
This makes the credits more accurate.

## მიმოხილვები

![](https://secure.gravatar.com/avatar/0d96e45727d0e2a7298c83427779c51fb183cbe109aae01a3aa2ad604d0c9786?
s=60&d=retro&r=g)

### 󠀁[Don't works for me](https://wordpress.org/support/topic/dont-works-for-me/)󠁿

 [mamamia02](https://profiles.wordpress.org/mamamia02/) 07.02.2017

I cannot use this plugin with WP 361

 [ 6 რევიუს წაკითხვა ](https://wordpress.org/support/plugin/image-credits/reviews/)

## მონაწილეები & დეველოპერები

“Image Credits” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს
მის განვითარებაში.

მონაწილეები

 *   [ Adam Capriola ](https://profiles.wordpress.org/adamcapriola/)

[გადათარგმნეთ Image Credits თქვენს ენაზე.](https://translate.wordpress.org/projects/wp-plugins/image-credits)

### დაინტერესებული ხართ დეველოპმენტით?

[დაათვალიერეთ კოდი](https://plugins.trac.wordpress.org/browser/image-credits/), 
შეამოწმეთ [SVN რეპო](https://plugins.svn.wordpress.org/image-credits/), ან გამოიწერეთ
[შექმნის ჟურნალი](https://plugins.trac.wordpress.org/log/image-credits/) : [RSS](https://plugins.trac.wordpress.org/log/image-credits/?limit=100&mode=stop_on_copy&format=rss).

## ცვლილებები

#### Version 1.1

 * Fixed error caused by not defining variables as arrays before using them in in_array
   functions
 * Removed whitespace in code
 * Added help text to media input fields
 * Cleaned up FAQ and added another usage example

#### Version 1.0

 * This is version 1.0. Everything’s new!

## მეტა

 *  Version **1.1**
 *  Last updated **12 წელი წინ**
 *  Active installations **40+**
 *  WordPress version ** 3.0, ან უფრო მაღალი **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/image-credits/)
 * Tags
 * [credits](https://ka.wordpress.org/plugins/tags/credits/)[image](https://ka.wordpress.org/plugins/tags/image/)
 *  [დამატებითი ხედი](https://ka.wordpress.org/plugins/image-credits/advanced/)

## რეიტინგები

 3.7 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/image-credits/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/image-credits/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/image-credits/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/image-credits/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/image-credits/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/image-credits/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/image-credits/reviews/)

## მონაწილეები

 *   [ Adam Capriola ](https://profiles.wordpress.org/adamcapriola/)

## მხარდაჭერა

გაქვთ კომენტარი? გჭირდებათ დახმარება?

 [მხარდაჭერის ფორუმის ნახვა](https://wordpress.org/support/plugin/image-credits/)

## შემოწირულობა

გსურთ ამ ჩადგმის განვითარების მხარდაჭერა?

 [ შეწირეთ თანხა ამ ჩადგმას ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QNSZC555QGP54)