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
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
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
I have copied your photo ich.jpg into "tools" and renamed sample.jpg, then in my browser, I open tools/metadata.php:
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:
$conf['use_iptc_mapping'] = array( 'keywords' => '2#025', 'author' => '2#110', 'name' => '2#092', 'comment' => '2#105' );
it works much better!
Offline
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.
Offline
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
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'].
Offline