Subject/keyword sometimes not shown under Tags in Windows Explorer

Started by Hugh, December 13, 2017, 06:41:12 AM

Previous topic - Next topic

Hugh

I've recently noticed that for some of my photos which have had subject/keyword tags added to their metadata the keywords are not shown under "Tags" in Windows Explorer. I attach 2 files. (Itried to attach the jpg files but the forum upload reported an error, so I attach text files showing the metadata listed by ExifTool). The keyword/subject in IMG_2249.jpg does not appear under Tags in Windows Explorer, while the similar keyword/subject in IMG_2242.jpg does. Both photos have had the keyword added in Photo Supreme (which calls it a label). The only difference that I am aware of is that 2249 has been rotated (orientation changed from landscape to portrait) in PSu. Other photos that have been similarly rotated also do not have their "tags" shown in Explorer. So far as I can see the keyword/subject metadata appears the same way in both files. Can you see why Windows Explorer treats them differently, please?

Phil Harvey

I can't say for sure, but IPTCDigest exists in IMG_2242 but is wrong, and is missing from IMG_2249.  This should cause a compliant reader to ignore the XMP in IMG_2242 but not IMG_2249.  If there is also something wrong with the XMP in IMG_2249, then I could see how Explorer could not display the keywords.

But there are other differences too, so it is hard to say.

The thing to do is to copy metadata from one file to the other using ExifTool until you find out what causes the difference.  First start by copying all of the metadata from 2242 to 2249 (with exiftool -tagsfromfile IMG_2242.JPG -all:all IMG_2249.JPG), and if this fixes 2249 then revert to the original and copy a bit at a time until you discover the difference.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

Quote from: Phil Harvey on December 13, 2017, 07:09:45 AM
I can't say for sure, but IPTCDigest exists in IMG_2242 but is wrong, and is missing from IMG_2249.  This should cause a compliant reader to ignore the XMP in IMG_2242 but not IMG_2249.

I just double checked and Windows 10 it will display combined XMP:Subject and IPTC:Keywords.  If I recall, it was this same behavior under 8.1. 
"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

Hugh

Thank you both for looking at this. It's helpful to know that there is nothing obvious to cause the different behaviour by Windows Explorer.

So far as I can see both files have XMP:Subject and IPTC:Keywords as well as XMP:HierarchicalSubject tags that are identical apart from the name of the village (Hartest vs Boxted)

I've tried running the code you suggested, Phil, but the subject/keyword/label still doesn't appear in Windows Explorer. So far as I'm aware it doesn't matter that Windows doesn't pick them up, provided the other programs and apps that I use are unaffected, so I won't try to pursue this further at the moment.

Thanks again for your help.