markup for images

By marking up information about images on your site with the markup, you can improve the way your site is displayed in the Yandex Images search results.

  1. Supported fields
  2. Markup example

Supported fields

  • contentURL/image: Image link (URL). This field is mandatory if the "thumbnail" field isn't filled out. If one of these fields isn't filled out, the data aren't processed. It's preferable to use "contentURL". Providing the link to the image file is mandatory.

  • thumbnail: Description of the preview image of the ImageObject type. The field is required if there's no "contentURL" or "image".

  • name: Image name (Text).

  • caption: Image caption (Text).

  • description: Image description (Text).

  • height: Image height (Distance).

  • width: Image width (Distance).

Properties that take values of the Distance type follow the following format: '<Number> <Unit of measurement>' (for example, 5 px).

Markup example

<div itemscope itemtype="">
  <h2 itemprop="name">Winnie the Pooh</h2>
  <img src=​"vinni.jpg" itemprop="contentUrl" />
  <span itemprop="description">Winnie the Pooh climbs a tree.</span>