Keeping a source-page URL in JPEG metadata

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

jkm
Posts: 782
Joined: Sat May 11, 2024 12:43 am

Re: Keeping a source-page URL in JPEG metadata

Post by jkm »

Welcome to the forums, danielle.
danielle_campbell90 wrote: Fri Dec 04, 2026 5:07 am Can XnView MP keep a source-page URL in an IPTC or XMP field when exporting a JPEG? For a health-news source such as https://medproofs.com/health-news/, the useful part would be keeping the page address with the image rather than just in its filename.

Which metadata field would you use for that? I realise a URL alone doesn't establish permission to reuse an image; this is only about keeping track of the source.
Of course it can. A url is just a text string. Pretty much any field is capable of holding it.

If your goal is interoperability with other people or organizations, then you have to be a little more careful.

At first glance, it might seem reasonable to put something like this in the IPTC Source or Credits fields. However, those fields have a defined purpose (not yours) in the specification. So other people will expect to find appropriate data there, not just a url where the image once was. But if it's just for your own private use, using Source might be intuitive for you.

I don't think there is a field specifically set aside in the XMP or IPTC specs for the use case you describe. You're welcome to read the specs (find them with google) to make your own determination.

So I would be inclined to put it in Special Instructions, which can hold anything. You might write something like "Originally sourced from url"
There is also XMP:Instructions, which is the equivalent.

Hopefully this helps...