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 โฆโโฆ>
Installation
- Upload the hk_exif_tags.php file to the
/wp-content/plugins/
directory - 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.
ContributorsTranslate “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)