markup for images

By using markup for image information on your website, you can improve your website footprint in the Yandex.Images search results.

  1. Supported fields
  2. Sample markup

Supported fields

  • contentUrl or image — (URL) image link. Required field, if thumbnail is not filled in. If one of these fields is not filled in, the data is not processed. ContentUrl is preferable. Make sure that the link leads to the image file.

  • thumbnail - (ImageObject) description of the ImageObject thumbnail. Required, if contentUrl or image is missing.

  • name - (Text) image name.

  • caption - (Text) image caption.

  • description - (Text) image description.

  • height - (Distance) image height.

  • width - (Distance) image width.

The properties of the Distance type have the following format: '<Number> <Unit>'. For example, '5 px'.

Sample markup

<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>