Shortcut to iptc/xmp templates

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Hi Pierre, thx for comming back on this.

We like todo xmp-templates. And the content-template has to be applied manualy for each image.
I can type content into XMP-fwc and can save it as a sample as *.xxmp
The templates including content for a few metadata fields. Sound good so far...
20220504_XnViewMP_Metadta_create-xxmp.png

I can share the *.xxmp-files with all users via AppData\XnViewMP...
The user can view all of the *.xxmp in the list but it doesnt apply on the image any how. Maybe this is my wrong thinking.
20220504_XnViewMP_Metadta_choose-xxmp doesnt apply on image.png
............................................................................................................................................................................

What I found instead is a seperate "history list" for each single xmp-fwc customfield. Not easy to access for some fields. Maybe there is an option missing (see next image)
20220504_screenshot_001715.png
Option to open this list found in an other metadata field... (next image)
20220504_screenshot_001720.png
The list for each field...
20220504_XnViewMP_Metadta_history not xxmp-templates.png
The applied content can access to each image and its shown under each single xmp-fwc customfield
20220504_screenshot_001718.png
Just figured out: all content gets saved in the XMP.ini - thats brilliant!
What I do not get is a template for more than one metadata field as I can do with the *.xxmp

Question: where is my wrong thinking or doing? How can we apply the content to an image manualy with the *.xxmp-templates?
Attachments
20220504_XnViewMP_XMP-ini_templates.png
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

Gerald_Ire wrote: Wed May 04, 2022 2:03 pm The user can view all of the *.xxmp in the list but it doesnt apply on the image any how. Maybe this is my wrong thinking.
you can't apply a saved .xxmp? nothing happened when you select it?
Pierre.
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Hi Pierre, sorry for the delayed answer...
The answer is no. If I/we apply a XMP-template it wont write the Metadata into fwc xmp fields.
(by the way this is ver. 1.00)
20220524_xmp_start_001795.png
The original file with "ModifyDate" befor...
20220524_xmp_edit_001796.png
Open it into XMP, choosed one of the *.xxmp templates (sample attached *.zip)
20220524_xmp_choose_001797.png
Applied it to fwc 1-3, but it doesnt show up in GUI...
20220524_xmp_end_001799.png
And doestn show up in Metadata XMP, but ad CreateDate to it... (ModifyDate?)

If I edit it manual (typing text), it shows up...
20220524_xmp_manual edit_001802.png
Will try this later on my private Windows PC to check if its a "rights thing" on AppData/... and let you know tomorrow... 25th...

The *.xxmp is enclosed from ...User/AppData/XnViewMP...
Attachments
CompY-NPaperY-Res2.zip
(1.15 KiB) Downloaded 48 times
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Sorry for the delay!
Checked *.xxmp templates on my priv. pc (win10) with version 1.00...
Did that with "standard setup" (... like install, ok, ok, ok, done!)
Same problem: Cant apply the templates to xmp metadata...
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by michel038 »

Same problem: Cant apply the templates to xmp metadata...
Right.
XMP templates are not working in "Edit xmp" dialog.
you can't apply a saved .xxmp? nothing happened when you select it?
The fields stay empty
This problem could be mentioned in the bug reports section of the forum
When the bug is solved, we can continue here to discuss the possibility to apply templates in one click


Templates are working in "Edit iptc" dialog, with IPTC metadata
(... and if mode "IPTC + create or update xmp" is enabled, xmp fields will also be updated.)
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Merci bien! Thx for reply to this. Didnt checked the IPTC version on this...


... and: bug report to this is now done! Thx to all!
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

Gerald_Ire wrote: Tue Jun 07, 2022 11:20 am Sorry for the delay!
Checked *.xxmp templates on my priv. pc (win10) with version 1.00...
Did that with "standard setup" (... like install, ok, ok, ok, done!)
Same problem: Cant apply the templates to xmp metadata...
i can't reply to your email (it returns as spamming :( )
As a workraround, in the xxmp, please try to remove the lines <Iptc4xmpCore.CreatorContactInfo.... at the beginning

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Workaround does the job. Thx for quick reply!

See sample with deleted lines:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xmp_template><xmp_template version="1.0">
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrCity></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrCity>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrCtry></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrCtry>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrExtadr></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrExtadr>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrPcode></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrPcode>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrRegion></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiAdrRegion>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiEmailWork></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiEmailWork>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiTelWork></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiTelWork>
<Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiUrlWork></Iptc4xmpCore.CreatorContactInfo/Iptc4xmpCore.CiUrlWork>

<Iptc4xmpExt.Event></Iptc4xmpExt.Event>
<Iptc4xmpExt.OrganisationInImageCode></Iptc4xmpExt.OrganisationInImageCode>
<Iptc4xmpExt.OrganisationInImageName></Iptc4xmpExt.OrganisationInImageName>
<Iptc4xmpExt.PersonInImage></Iptc4xmpExt.PersonInImage>
<dc.creator>Gerald</dc.creator>
<dc.description>Test</dc.description>
<dc.rights></dc.rights>
<dc.title></dc.title>
<fwc.CustomField1>1</fwc.CustomField1>
<fwc.CustomField10>10</fwc.CustomField10>
<fwc.CustomField2>2</fwc.CustomField2>
<fwc.CustomField3>3</fwc.CustomField3>
<fwc.CustomField4></fwc.CustomField4>
<fwc.CustomField5></fwc.CustomField5>
<fwc.CustomField6></fwc.CustomField6>

20220609_XnViewMP _XMP Custom Field_Load template.png

Sorry for the SPAM problem. Using new mail software & mail server. Will talk to admin...
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

you have another bug?
Pierre.
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Oh Sorry! Nope!
Just deleted the other post!
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.01. Please check and confirm the bug fix here.
Pierre.
User avatar
Gerald_Ire
Posts: 107
Joined: Wed Nov 11, 2020 12:37 pm
Location: Germany

Re: Shortcut to iptc/xmp templates

Post by Gerald_Ire »

Yes! +1*
Sorry for the delay! :-(

Create and Save template...
20220822_screenshot_002216.png
Load and Apply template
20220822_screenshot_002217.png
Check XMP - metadata
20220822_screenshot_002218.png
20220822_screenshot_002218.png (5.85 KiB) Viewed 1327 times
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
Post Reply