Last change
on this file since 7721 was
4620,
checked in by Gotcha, 15 years ago
|
[Plugin] Tag2File - Last revision from author Eric B.
|
File size:
1.4 KB
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Tags2File |
---|
4 | Description: Export the image properties and tags from the database to a batch script. This script will tag the files and set the data in IPTC fields |
---|
5 | Author: Eric B, inspired from Tags2File MOD from Nicco |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=292 |
---|
7 | Version: 0.4 |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | Changelog : |
---|
12 | |
---|
13 | v0.1, 2009-05-18: first beta, major pb with character encoding |
---|
14 | v0.2, 2009-05-19: fix GUI, german translation, extended description (multi lingual), batch for both exiftool & exiv2. Character encoding pb solved under Windows: exiv2 requires ANSI file, whereas exiftool can also use UTF-8. Characters displayed in Ansi/latin-1 in command line (cp1252) |
---|
15 | v0.3, 2009-05-2x: set not only ObjectName but also Headline with the image name. Consider also the image in pwg_high subfolders. With exiftool, set the IPTC fields only if they are empty (do not overwrite existing data) |
---|
16 | v0.4, 2009-06-15: use -IPTC:CodedCharacterSet=UTF8 with exiftool when utf8 is required. Add documentation in the GUI. Add test modus. |
---|
17 | v1.0 : release |
---|
18 | |
---|
19 | */ |
---|
20 | |
---|
21 | add_event_handler('get_admin_plugin_menu_links', 'db_export_image_metadata' ); |
---|
22 | |
---|
23 | function db_export_image_metadata($menu) |
---|
24 | { |
---|
25 | array_push($menu, |
---|
26 | array( |
---|
27 | 'NAME' => 'Tags2File', |
---|
28 | 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/db_export_image_metadata.php') |
---|
29 | ) |
---|
30 | ); |
---|
31 | return $menu; |
---|
32 | } |
---|
33 | |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.