Opis
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 …”…>
Zrzuty ekranu
Instalacja
- Upload the hk_exif_tags.php file to the
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins’ menu in WordPress
Najczęściej zadawane pytania
- 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.
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„HK Exif Tags” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “HK Exif Tags” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
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)