Shortcut to iptc/xmp templates

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Shortcut to iptc/xmp templates

Post by michel038 »

Hello,
I thought of a feature that could be effective with metadata templates:
1) The user saves templates with the "Edit iptc" and "Edit xmp" windows
2) He creates toolbar buttons linked to these templates, with a specified icon
3) Use: select photos and click the button!
In one click your photos get a selection of metadata.
Stars and color labels already work this way.
Personally I achieve this result with batch files calling Exiftool. But it is complicated and relatively slow ...

Are there users who find it useful?
For example for commonly used copyrights, keywords or places (location, city, region, country)?
Or to start from scratch a tagging work on thousands of photos ?

French:
Bonjour,
J'ai pensé à une fonctionnalité qui pourrait être efficace avec les modèles de métadonnées :
1) L'utilisateur enregistre des modèles avec les fenêtres "Editer iptc" et "Editer xmp"
2) Il crée des boutons de barre d'outils liés à ces modèles, avec une icône spécifiée
3) Utilisation : sélectionner des photos et cliquer le bouton !
En un seul clic vos photos acquièrent une sélection de métadonnées.
Les étoiles et couleurs fonctionnent déjà de cette façon.

Personnellement j'arrive à ce résultat en passant par des fichiers batch appelant Exiftool. Mais c'est compliqué et relativement lent

Y'a t-il des utilisateurs qui trouveraient ça utile ?
Par exemple pour des copyrights, des mots-clés ou des lieux (emplacement, ville, région, pays) couramment utilisés ?
Ou pour commencer à partir de zéro un travail de marquage sur des milliers de photos ?
Franky
Posts: 297
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Shortcut to iptc/xmp templates

Post by Franky »

Bonjour,

Les modèles existent déjà, ce serait les appliquer en un click, en configurant des boutons dans la barre d'outils ?
Ce serait effectivement utile.
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 »

michel038 & Franky
Short answer: Yes! Would be brilliant if we could ad metadata templates easier. :)

Working with 0.99.7 (GUI: german) and struggling with the metadata templates setup a little bit and no clue how to use it the right way. Any help would be appreciated...

the idea is:
Setup a bunch of XMPxxx.xxmp templates into AppData/XnviewMP for our users and let them choose the one that fits to there local workflow.
I can setup the different XMPxxx.xxmp templates
I can browse them...
I cant apply the xmp template to the images... :(
Last edited by Gerald_Ire on Wed May 04, 2022 12:26 pm, edited 1 time in total.
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

so the same as if you add a .xbs script to toolbar but with processing IPTC/XMP?
Pierre.
Scargoth
Posts: 28
Joined: Wed Jan 17, 2018 12:23 pm

Re: Shortcut to iptc/xmp templates

Post by Scargoth »

+1
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 »

+1**

** sory for the delay!

create and save template...
20220822_screenshot_002216.png
open and apply template..
20220822_screenshot_002217.png
check xmp metadata...
20220822_screenshot_002218.png
20220822_screenshot_002218.png (5.85 KiB) Viewed 7348 times
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
BuckSkin
Posts: 138
Joined: Thu Aug 18, 2016 4:09 am

Re: Shortcut to iptc/xmp templates

Post by BuckSkin »

michel038 wrote: Sat Apr 02, 2022 5:17 pm Hello,
I thought of a feature that could be effective with metadata templates:
1) The user saves templates with the "Edit iptc" and "Edit xmp" windows
2) He creates toolbar buttons linked to these templates, with a specified icon
3) Use: select photos and click the button!
In one click your photos get a selection of metadata.
Stars and color labels already work this way.
Personally I achieve this result with batch files calling Exiftool. But it is complicated and relatively slow ...

Are there users who find it useful?
For example for commonly used copyrights, keywords or places (location, city, region, country)?
Or to start from scratch a tagging work on thousands of photos ?
I think this is a great idea.
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 »

Yep! Greate idea...

I tried "batch-conversion" lately but figured out, that you cant add "metadata-template" to it and the metadata option doesnt support the xmp-fwc fields...

xmp-fwc missing
20230404_XnViewMP_BatchConversion_xmp-fwc missing or UseTemplate.png
metadata template option
20230404_XnViewMP_Stapelverarbeitung9.png
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Shortcut to iptc/xmp templates

Post by xnview »

See issue for current status and some details.
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 »

Cool! Thx for that....
-------------------------------------------------------------------------------
:D Gerald says thx to all! :D
User avatar
xnview
Author of XnView
Posts: 46235
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.4.4. Please check and confirm the bug fix here.
Pierre.
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 »

I only did a few tests ...
Settings > Interface > Toolbar > New IPTC template

It seems to work, even with values with { ... } type in the template fields.
Example : select a field in "Edit IPTC" , then use the black arrow : Insert > Exif > Image > date taken , gives : {Date taken}

Great.
Formidable.
Fantastico.
Post Reply