Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
% exiftool -XMP-plus:LicensorURL=http://www.mypictureagency.com/obtain-licence/ test-image.jpg
    1 image files updated

Note that this approach will not work if there are already two or more Licensor records in the image metadata. This is because the exiftool argument -XMP-plus:LicensorURL is a shortcut for “the LicensorURL sub-property in the first Licensor structure in the image.” But for most images, there will be only one licensor record or more likely no records at all, so this shortcut will work.

If you need to edit the LicensorURL of an image with two or more Licensor records, you should use the

Writing Web Statement of Rights metadata

...

Writing all metadata that can be read by Google Search

Code Block
% exiftool -XMP-dc:creator="Jane Smith" -XMP-photoshop:Credit="Jane Smith, Smith Photography Ltd" -XMP-dc:rights="Copyright Smith Photography Ltd 2023" -XMP-xmpRights:WebStatement="http://smithphotography.com/licensing/" -XMP-plus:LicensorURL="http://www.mypictureagency.com/obtain-licence/" -XMP-iptcExt:DigitalSourceType="https://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"  test-image.jpg
    1 image files updated
brendan@Brendans-M1-MacBook-Pro pmd-sample-images % exiftool -XMP-dc:creator -XMP-photoshop:Credit -XMP-dc:rights -XMP-xmpRights:WebStatement -XMP-plus:LicensorURL -XMP-iptcExt:DigitalSourceType  test-image.jpg
Creator                         : Jane Smith
Credit                          : Jane Smith, Smith Photography Ltd
Rights                          : Copyright Smith Photography Ltd 2023
Web Statement                   : http://smithphotography.com/licensing/
Licensor URL                    : http://www.mypictureagency.com/obtain-licence/
Digital Source Type             : https://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture

Appending to an existing set of repeatable tags

...