This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

HK Exif Tags

Description

This plugin is very compact and simple, it just adds two hooks.
One to store the extra exif tag “make” in the database, which is missing in the standard word press database.
The database format itself will not be touched!
The manufacturer of the camera will only be visible on new uploaded images.

The second hook parses all posts before sending it to the browser, looking for images and adds just one
html tag () with the line of EXIF information.

To suppress the line with the EXIF information, add “hk_noexif” anywhere in the <img> tag like
<img class=”hk_noexif …”…>

Screenshots

  • This is how it looks like

Installation

  1. Upload the hk_exif_tags.php file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How can i change the style of the new line?

Just go to edit plugin in your admin panel. And find the lines:

    // ****************************************************************************************************************************
    // **
    // ** the follwing code defines the layout of the inserted line
    // **
    // ****************************************************************************************************************************

    $result = $matches[0] . '<br><span style="color:#888; font-size:small; font-weight:normal;">';
    $result = $result . $pmake . ' ' . $pcamera . ' (' . $pfocal_length . ', ' . $paperature . ', ' . $pshutter . ', ' . $piso . ')';
    $result = $result . '<br></span>';

    // ****************************************************************************************************************************

With basic html and php knowledge, you can change here the looking of the inserted line.

Why is the manufacturer of the camera not visible?

The “make” EXIF-tag is not imported in the database by word press. After activating this plugin, also the make tag is imported in the database. The manufacturer will be visible below all new uploaded photos.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“HK Exif Tags” is open source software. The following people have contributed to this plugin.

Contributors

Translate “HK Exif Tags” into your language.

Interested in development?

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

Changelog

1.0

First stable release

1.1

readme.xt updated

1.2

screenshot added

1.3

screenshot changed

1.4

support for themes which have no link on photos

1.5

added <br> tag for better positioning

1.6

FIX: check if each field exists

1.7

support for themes which don`t include attachment id in class

1.8

eliminate long make names like “NIKON CORPORATION”
eliminate duplicate brand names in make and model field, like “Canon Canon EOS 5D”

1.9

if <img> tag contains “hk_noexif” than do nothing

1.10

support themes which add extra url parameters to image urls

1.11

eliminate long make names like “PENTAX RICOH IMAGING”

1.12

security issue fixed (prevent code injections)