Image Credits nofollow

Beskrywing

This plugin adds credits to the media uploads: Source and source URL. URLs are nofollow (no follow) by default, but you have the option to follow them. With a shortcode and various options to display image credits in the posts.

The three display options of the credits are:

  • Shortcode: [image-credit] with optional attributes are sep, before and after.
  • Template Tag: the_image_credits() with optional parameters are sep, before and after.
  • Display the credits automatically before or after the content.

There is a setting page in SETTINGS / IMAGE CREDITS that allows to setup the automatic credit display, including the HTML definitions.

This plugin is a fork of the Better Image Credits plugin by Claude Vedovini, which is a fork of the Image Credits plugin
by Adam Capriola. This plugin is 100% compatible with both of them, so if you are already using the Image Credit plugin or the Better Image Credit plugin, just replace them
with this one and it will work about the same way, including the nofollow of the Source URL of the images.

The main difference with the “Image Credits” plugin is that you can choose that the plugin automatically adds the credits before or at the end of a post.
The main difeerence with the “Better Image Credits” plugin is that the Source URL links are NOFOLLOW by default and you can choose to make it DOFOLLOW if you want. We also removed the OVERLAY display option, which included additional Javascript and we think is not usefull because of the compatibility problems with the different themes.

What can I do with this plugin?

This plugin adds the Source Name, Source URL and the option to follow the Source URL link to the media uploaded in WordPress.
And this image credits can be displayed in three different forms.

How do I configure the plugin?

Please navigate to SETTINGS / IMAGE CREDITS and choose options or fill in the data. Everything is self-explaining, incluiding help texts.

IMAGE CREDITS NOFOLLOW in your Language!

This first release is avaliable in English and Spanish (image-credits-nofollow-es_ES). In the languages folder we have included the necessary files to translate this plugin.

Other available languages:

  • Turkish translation by Burak Demir (image-credits-nofollow-tr_TR).

If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.

Further Reading

You can access the description of the plugin in Spanish at: Image Credits Nofollow en castellano.

Kontak

For further information please send us an email.

Translating WordPress Plugins

The steps involved in translating a plugin are:

  1. Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
  2. Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
  3. Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.

In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.

The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po

That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.

For example:

  • en_US – US English
  • en_UK – UK English
  • es_ES – Spanish from Spain
  • fr_FR – French from France
  • zh_CN – Simplified Chinese

A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.

Screenshots

  • Image Credits Nofollow example of nofollow credit image
  • Image Credits Nofollow example of dofollow credit image
  • Image Credits Nofollow configuration

Installation

  1. Upload the image-credits-nofollow folder to the /wp-content/plugins/ directory (or to the directory where your WordPress plugins are located)
  2. Activate the IMAGE CREDITS NOFOLLOW plugin through the ‘Plugins’ menu in WordPress.
  3. Plugin doesn’t need any configuration.

Please use with WordPress MultiSite at your own risk, as it has not been tested.

Kwel-vrae

What is IMAGE CREDITS NOFOLLOW good for?

  • This plugin adds the Source Name, Source URL and the option to follow the Source URL link to the media uploaded in WordPress.
  • The three display options of the credits are: Shortcode, Template Tag or let the plugin display the credits automatically before or after the content.

Does IMAGE CREDITS NOFOLLOW make changes to the database?

The plugin doesn’t make any changes to the database, but it adds new META-DATA for the MEDIA you edit. Every time you add a Source Name, Source URL and the option to follow the Source URL, this is added as metadata to the database.

How can I check out if the plugin works for me?

Install and activate. Go to the MEDIA library and edit any image. There should be new fields to introduce: Source Name, Source URL and the option to follow the Source URL link.

How can I remove IMAGE CREDITS NOFOLLOW?

You can simply activate, deactivate or delete it in your plugin management section.

Are there any known incompatibilities?

Please use it with WordPress MultiSite at your own risk, as it has not been tested.

Does it work with image galleries?

Unfortunately it doesn’t work with image galleries. Only with media inserted in posts / pages and the thumbnails.

Are you planning to make it work with image galleries?

We normally don’t use image galleries, so maybe in the future we develop this function, but it’s not one of our priorities. Sorry :-).

Do you make use of IMAGE CREDITS NOFOLLOW yourself?

Of course we do. πŸ˜‰

Aanbevelings

September 3, 2016 1 reply
I tried this plugin and found that I have to choose in the general settings if the credits should be for a photographer, illustrator, song writer or composer. To me it seems a bit narrowsighted to only have one option in the main settings. The problem is that in Swedish we donΒ΄t have a directly corresponding term for credits. I would also like to have the credit line close to the image and not below the image caption. Another confusing thing is that you can only see the personal name in the media settings not in connection to the image in the Post or Page. That may confuse new users and content providers. To me this plugin is a bit immature.
Read all 6 reviews

Contributors & Developers

“Image Credits nofollow” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:

Contributors

“Image Credits nofollow” has been translated into 113 locales. Thank you to the translators for their contributions.

Translate “Image Credits nofollow” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.1 (12dec2022)

  • Solved deprecated notices in PHP 8.x: Creation of dynamic property BetterImageCreditsAdmin::$plugin is deprecated (line 6( & Creation of dynamic property ImageCreditsNofollowPlugin::$admin is deprecated (line 85)

1.4 (19sep2022)

  • FIX: Remove screen_icon function call which is deprecated.

1.3

  • Update to also show images in galleries. Thanks to Ivan de la Jara.

1.2

  • Update to show image credits also on pages when option is checked in configuration. Until now the image credits were only shown on posts.

1.1

  • Update to not show image credits in posts excerpts. Now the image credits are only shown on single pages when selected show before or after text.

1.0

  • First stable release.

0.5

  • Beta release.