source: extensions/Tags2File/main.inc.php @ 31962

Last change on this file since 31962 was 4620, checked in by Gotcha, 14 years ago

[Plugin] Tag2File - Last revision from author Eric B.

File size: 1.4 KB
Line 
1<?php
2/*
3Plugin Name: Tags2File
4Description: 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
5Author: Eric B, inspired from Tags2File MOD from Nicco
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=292
7Version: 0.4
8*/
9
10/*
11Changelog :
12
13v0.1, 2009-05-18: first beta, major pb with character encoding
14v0.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)
15v0.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)
16v0.4, 2009-06-15: use -IPTC:CodedCharacterSet=UTF8 with exiftool when utf8 is required. Add documentation in the GUI. Add test modus.
17v1.0 : release
18
19*/
20
21add_event_handler('get_admin_plugin_menu_links', 'db_export_image_metadata' );
22
23function 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.