Main Menu

Category fields

Started by Hans-Martin, January 20, 2023, 03:07:58 PM

Previous topic - Next topic

Hans-Martin

Hello!

After solving my history tag problem I bumped into another issue with the category fields.
I batch uploaded a couple of photos to a client´s DAM that operates via web browser. The client demands specific entries in the category field. Now in the DAM some show the complete entry of the catgory and some are cut off with three letters remaining. I guess this due to the limitation of the initial defition of the IPTC category field.
-iptc:category and -xmp:category both show the same value in all photos. So I assume that the DAM displays either one of those entries by chance.

Now my idea was to delete iptc:category so the DAM can only read xmp:category, but to no success. Some photos would still show only the first three letters.

Are there more category fields with a three letters limit in other groups maybe? If so, how can I address and delete them? I just want to keep the xmp:category and hope this will solve the issue.
     

StarGeek

It might be reading one of the IPTC's controlled vocabulary values, where there would be a 6 or 8 (can't remember which) digit code which corresponds to a string value.  There are like a couple thousand codes.

Use the command in FAQ #3 and look for a tag which is 6/8 numbers long.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Hans-Martin

I explored the file with -a -G1 and found identical values in
[IPTC]          Category: abi magazine 2022
[XMP-photoshop] Category: abi magazine 2022

Couldn't find any other category fields.

All photos have these identical values, but in the customer's DAM some show just "abi" and some show "abi magazine 2022".
Somehow I need a workaround so that all files appear completely with "abi magazine 2022".
PhotoMechanic was used to write the metadata.   

StarGeek

IPTC:Category is limited to 3 characters according to the spec, though most programs ignore this and exiftool can override this with the -m (-ignoreMinorErrors) option.  Removing that might be a good place to start.  Beyond that, it'll take testing on your part.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype