Image license metadata: ImageObject markup for credits in Google Images

ImageObject markup for image metadata tells Google Images who made a photo, how to credit it and where its license terms live. The minimum is contentUrl, which identifies the image file, plus any one of creator, creditText, copyrightNotice or license.

The visible payoff is the Licensable badge in Google Images, with a link to the license and to a page where people can license the image. For photographers, illustrators and stock libraries that link is a sales channel. You can supply the same information as IPTC metadata embedded in the file, and Google accepts either one.

JSON-LD example

Copy this into a <script type="application/ld+json"> tag and replace the values with your own.

json
{
  "@context": "https://schema.org",
  "@type": "ImageObject",
  "contentUrl": "https://example.com/wp-content/uploads/2026/03/fog-over-point-reyes-lighthouse.jpg",
  "license": "https://example.com/licensing/terms/",
  "acquireLicensePage": "https://example.com/licensing/fog-over-point-reyes-lighthouse/",
  "creditText": "Ana Beltran / Northlight Images",
  "creator": {
    "@type": "Person",
    "name": "Ana Beltran"
  },
  "copyrightNotice": "© 2026 Northlight Images LLC"
}

Properties

PropertyStatusWhat it is
contentUrlRequiredThe URL of the image file itself. Google also accepts url, but contentUrl is more precise and preferred.
creator, creditText, copyrightNotice or licenseRequiredAt least one of these four is required. Once one is present, the Rich Results Test treats the other three as recommended.
licenseRecommendedA URL to the terms that govern use, such as your own licensing page or a Creative Commons license. Required for the Licensable badge when you use structured data.
acquireLicensePageRecommendedA URL where someone can find out how to license the image: a checkout page with sizes and usage rights, or a contact page.
creatorRecommendedThe Person or Organization that created the image, usually the photographer, with creator.name.
creditTextRecommendedThe credit line to print when the image is published, for example "Photo: Ana Beltran / Northlight".
copyrightNoticeRecommendedWho currently owns the copyright, written as a notice.

Structured data, IPTC, or both

Google reads image metadata from two places, and one is enough for the badge.

Structured dataIPTC photo metadata
Where it livesIn the page, tied to that pageInside the image file
How often you add itFor every page where the image appearsOnce per image
License URL fieldlicenseWeb Statement of Rights
Where to licenseacquireLicensePageLicensor URL, set on a Licensor

IPTC travels with the file, so a photo reposted elsewhere can keep its credit. Structured data wins if the two disagree. Google also reads the IPTC Digital Source Type field, which flags images made or altered with generative AI, using values such as trainedAlgorithmicMedia and compositeWithTrainedAlgorithmicMedia.

Earning the Licensable badge

With structured data, the badge requires license. Add acquireLicensePage too when you have one, because it is what turns the badge into a route to a sale or an inquiry. The two links serve different visitors: the license page answers "what am I allowed to do?" and the acquire page answers "how do I get permission?"

The image has to be indexable first. Google asks that pages with the images load without a login, that Googlebot isn't blocked by robots.txt or a robots meta tag, and that you follow its image SEO practices. A lightbox gallery that loads full-size files only through JavaScript, with no plain image URL in the page, gives Google less to work with. More on the basics in image SEO.

What WordPress keeps, and what it drops

When you upload a JPEG, WordPress reads some embedded IPTC and EXIF fields, including credit, copyright, caption and title, and stores them with the attachment. That doesn't put them in your page as structured data; it only saves them in the database.

The resized copies WordPress generates are another matter. Depending on the server's image library and any optimization plugin, embedded metadata may be stripped from thumbnails and medium sizes to save bytes. If you rely on IPTC, download a generated size from your uploads folder and check it in a metadata viewer. For portfolio pages, structured data is the dependable route. Hydrogen SEO's schema screens don't include an image license type, but the hydrogen_seo_schemas filter can add one block per image:

php
add_filter( 'hydrogen_seo_schemas', function ( $schemas ) {
    if ( is_singular( 'portfolio' ) ) {
        foreach ( get_attached_media( 'image', get_queried_object_id() ) as $img ) {
            $schemas[] = [
                '@context'           => 'https://schema.org',
                '@type'              => 'ImageObject',
                'contentUrl'         => wp_get_attachment_url( $img->ID ),
                'license'            => home_url( '/licensing/terms/' ),
                'acquireLicensePage' => home_url( '/licensing/' ),
                'creditText'         => 'Northlight Images',
            ];
        }
    }
    return $schemas;
} );

Mistakes that cost the badge

  • contentUrl pointing to a thumbnail while the page shows a larger file. Match the file actually displayed.
  • A license URL that is a home page. It should explain the terms.
  • Metadata on one page only. Structured data is per page, so an image used on five pages needs it on all five.
  • Claiming work you don't own. Credit and copyright must be accurate; this markup is a statement of rights.

Check the JSON-LD with the JSON-LD checker, then test the page URL in the Rich Results Test.

Common questions

Do I need both IPTC metadata and structured data?

No. Either one makes an image eligible. If both are present and disagree, Google uses the structured data.

Will the Licensable badge improve my image rankings?

Google presents it as extra information in Google Images, not a ranking boost. Its value is the link to your license and licensing page.

Can I mark up Creative Commons photos I use from others?

Only with accurate details. Credit the real creator and link the actual license; don't present yourself as the owner.

Does the badge work on mobile?

Yes. Google says image metadata features are available on mobile and desktop in all regions and languages where Search is available.