Announcement

#1 2010-01-19 13:52:34

Polly
Translation Team
2010-01-15
60

IPTC Author in "Author"

Hello

I managed to display all the IPTC data i wanted.
but now i want the "iptc_copyright_author" displayed in "Autor      nicht vorhanden" above the creation date.

example:
http://aus.sam-net.de/picture.php?/310/ … p;metadata


this is my local_config.inc.php

$conf['show_iptc'] = true;

$conf['show_iptc_mapping'] = array(
  'iptc_author'    => '2#080',
  'iptc_copyright' => '2#110',
  'iptc_copyright_source' => '2#115',
  'iptc_copyright_owner' => '2#085',
  'iptc_copyright_notice' => '2#116',
  'iptc_copyright_applicant' => '2#103',
  'iptc_keywords' => '2#025',
  'iptc_general_creator' => '2#122',
  'iptc_general_headline'    => '2#105',
  'iptc_general_objectdescription' => '2#120',
  'iptc_country_iso' => '2#100',
  'iptc_country_town' => '2#090',
  'iptc_country_state' => '2#095',
  'iptc_country' => '2#101',
  );

$conf['use_iptc'] = true;

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


What am i doing wrong?

Greetings
Polly

Offline

 

#2 2010-01-19 14:24:13

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13790

Re: IPTC Author in "Author"

The configuration seems right. Now you need to perform a metadata synchronization.

Unfortunately, while I was integrating your last week patch, I discovered that [Bugtracker] ticket 1380. As a consequence, with Piwigo 2.0.7 metadata synchronization won't work for a single picture. You have to launch it from Administration>Categories>Synchronize screen (and this synchronization does not include your code change to search IPTC in high definition photos)

Offline

 

#3 2010-01-19 15:16:20

Polly
Translation Team
2010-01-15
60

Re: IPTC Author in "Author"

I already tried to sync the metadata, but no data is syncronized.
any further suggestions?

The piwigo Version i tried was Piwigo 2.0.6 <= is a update to 2.0.7 useful?

I'll recheck the patch to make it work with the single image sync.

Thank you
Polly

Offline

 

#4 2010-01-19 15:58:39

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13790

Re: IPTC Author in "Author"

I have copied your photo ich.jpg into "tools" and renamed sample.jpg, then in my browser, I open tools/metadata.php:

Code:

1#000 = 
1#090 = %G
2#000 = 
2#025 = France,Jardin Villemin,Paris 10
2#055 = 20090920
2#060 = 153940+0200
2#090 = Paris 10
2#092 = Jardin Villemin
2#095 = Île-de-France
2#100 = FRA
2#101 = France
2#105 = "Ensemble nous sommes le 10e"
2#110 = © VDigital

If I compare to your configuration, 2#085 is empty. If you change into this:

Code:

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

it works much better!

Offline

 

#5 2010-01-19 16:48:24

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: IPTC Author in "Author"

Polly,

Thanks for using my pics for your IPTC Author tests... ;-)
Feel free. [Original picture]


Take care I could also filled the wrong IPTC field.
We had a debate on Author in the French Forum and every one are not following the same usages or rulesets.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2010-01-19 16:56:34

Polly
Translation Team
2010-01-15
60

Re: IPTC Author in "Author"

Thx for your permission! :-)
I used your image only for test purposes.

Where can i find the rules of using the right IPTC information in the right field?

Thank you

Polly

Offline

 

#7 2010-01-19 18:15:36

LucMorizur
Member
Vienne (Isère) - France
2009-04-30
171

Re: IPTC Author in "Author"

VDigital wrote:

We had a debate on Author in the French Forum and every one are not following the same usages or rulesets.

Indeed :-)) !!

I think I can say that the conclusion of the debate, is -- you see how sensitive is this subject ;-) ! -- that some softwares modifying the IPTC fields, call "Author" the field coded 2#122 ; while for some other softwares, 2#122 is the "Caption writer", and 2#080 the "Author" field.

You can adjust that in you config_local.php with variables $conf['show_iptc_mapping'] and $conf['use_iptc_mapping'].


Our gallery : Le Site à Nous (a silly name in french, but here I don't care ;-) ! )
An event, a new gallery ? Plugin Event Cats
My test gallery : Tests Piwigo de Luc
Thanksalot for this beautiful project.

Offline

 

Board footer

Powered by FluxBB

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