Announcement

  •  » Requests
  •  » Read and set tags from IPTC metadata

#1 2017-02-16 10:40:49

MannyGT
Member
2017-02-16
7

Read and set tags from IPTC metadata

Hello/Hi/Greetings,

First off, thank you for your awesome Piwigo software.
I have a request to be implemented on Piwigo:
Reading tags from IPTC fields and use them when you synchronize galleries.
I have at least 120GB of photos and I have to migrate them to Piwigo. Tags data are stored in IPTC fields if jpegs (where exists). The "Read Metadata" plugin report things like this:

-----------------------------
IPTC Fields in _13A5263.jpg
1#090 = %G
2#000 = 
2#025 = Tag1,Tag2
2#055 = 20161222
2#060 = 102217
2#062 = 20161222
2#063 = 102217
----------------------------

Field 2#025 may have these tags. That's it.
So, can you add a feature where it read these tags and use them when you sync the galleries?
Thank you.


Piwigo version: 2.8.6

Using on XAMPP at the moment

PHP version: 7.0.9
MySQL version:  10.1.16-MariaDB
Piwigo URL: http://localhost

Offline

 

#2 2017-02-16 11:01:15

MannyGT
Member
2017-02-16
7

Re: Read and set tags from IPTC metadata

Nevermind, I found my request by doing more accurate search on forums.

My apologies.

Offline

 

#3 2017-02-16 17:38:40

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7235

Re: Read and set tags from IPTC metadata

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 ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2017-02-17 09:20:55

MannyGT
Member
2017-02-16
7

Re: Read and set tags from IPTC metadata

Thank You! :)

Offline

 

#5 2017-08-24 19:37:16

kleiner_Hobbit
Member
Berlin
2017-08-22
71

Re: Read and set tags from IPTC metadata

Thanks a lot!
This was exactly what I was looking for!

I think this function would help a lot of Piwigo-Users and should be implemented in Piwigo as a standard-feature.

Offline

 

#6 2024-04-29 08:19:18

Otto_Riehl
Member
Kirchlinteln, DE-NI
2024-02-29
13

Re: Read and set tags from IPTC metadata

ddtddt wrote:

in localplugin editor

Thank you


Description of my installation: Bildarchiv

Offline

 
  •  » Requests
  •  » Read and set tags from IPTC metadata

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact