Hello/Hi/Greetings,
Many of my uploaded photos have a location names in the meta data:
exiftool myphoto.jpg -xmp:location -g1
---- XMP-iptcCore ----
Location : my location
I've already added the field 'location 'to config.inc.php:
$conf['use_iptc_mapping'] = array(
'keywords' => '2#025',
'date_creation' => '2#055',
'author' => '2#122',
'name' => '2#005',
'location' => '2#092',
);
I also find the location names in the images table of the SQL-files.
However the list of filters in the smart albums extension seems to be hard coded. So, any ideas how to improve the smart albums extension to fill an album automatically on this meta data?
I don't like the idea to copy the location into the keywords.
Thanks for reading, naunet
Piwigo version: 2.7.4
PHP version: 5.3.29
MySQL version: 5.5.40-MariaDB
Piwigo URL: none public jet
Offline
Hi
of course it's hard-coded, there is no way the plugin can by itself decide which fields are suitable for filter and provide a useable GUI
I don't have any solution for you if you want to use your custom field
Offline
yet in the next version I will make it possible for other plugins to add filters, like it's possible in the core batch manager
Offline