Announcement

#1 2018-03-01 22:38:02

josepcols
Member
2018-03-01
2

Extract keywords from IPTC Metadata and save as gallery keyword

Hello/Hi/Greetings,

I'll try to migrate from Menalto Gallery to Piwigo and I can't find a way to extract the IPTC Metadata from photos and save as keyword in order to search for.
Is it possible? How?

Piwigo version: 2.9.3
PHP version: 7.0
MySQL version: Mariadb 10
Piwigo URL: http://fotos.cols.cat  (But is only a test)

Offline

 

#2 2018-03-01 22:51:16

josepcols
Member
2018-03-01
2

Re: Extract keywords from IPTC Metadata and save as gallery keyword

I'm sorry. This question is already answered.

Hi :-)

in localplugin editor

$conf['show_iptc'] = true;

$conf['use_iptc'] = true;

$conf['use_iptc_mapping'] = array(
'keywords'        => '2#025',
'author'          => '2#122',
'name'            => '2#105',
'comment'         => '2#120'
);

$conf['show_iptc_mapping'] = array(
'iptc_Object'                                  => '2#005',
'iptc_Edit_Status'                             => '2#007',
'iptc_Urgency'                                 => '2#010',
'iptc_Category'                                => '2#015',
'iptc_Supplemental_Category'                   => '2#020',
'iptc_Fixture_Identifier'                      => '2#022',
'iptc_Keywords'                                => '2#025',
'iptc_Release_Date'                            => '2#030',
'iptc_Release_Time'                            => '2#035',
'iptc_Special_Instructions'                    => '2#040',
'iptc_Reference_service'                       => '2#045',
'iptc_Reference_Date'                          => '2#047',
'iptc_Reference_Number'                        => '2#050',
'iptc_Date_Created'                            => '2#055',
'iptc_Time_Created'                            => '2#060',
'iptc_Originating_Program'                     => '2#065',
'iptc_Program_version'                         => '2#070',
'iptc_Object_cycle'                            => '2#075',
'iptc_By_line'                                 => '2#080',
'iptc_By_line_Title'                           => '2#085',
'iptc_City'                                    => '2#090',
'iptc_Province_State'                          => '2#095',
'iptc_Country_Primary_Location_Code'           => '2#100',
'iptc_Country_Primary_Location_Name'           => '2#101',
'iptc_Original_Transmission_Reference'         => '2#103',
'iptc_Headline'                                => '2#105',
'iptc_Credit'                                  => '2#110',
'iptc_Source'                                  => '2#115',
'iptc_Copyright_Notice'                        => '2#116',
'iptc_Contact'                                 => '2#118',
'iptc_Caption_Abstract'                        => '2#120',
'iptc_Writer_Editor'                           => '2#122',
'iptc_Image_Type'                              => '2#130'
  );

adapt for you ;-)

Thanks

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact