4

We are trying to share a post on Google+. As you know, as soon as you enter a URL, Google scouts the page and adds an image to it. There's an image on the page we would like to have associated to the post, but unfortunately it picks the wrong one. We noticed that it actually picks a set and you can scroll between the possible ones, but the image we want is not in this set. It is, however, on the webpage we are posting about with no fancy tricks, and it actually comes earlier than the other ones.

The first idea was size, but our target image is not particularly unusual.

How does Google decide which images to pick, so that we can adapt to that?

  • Could you post the URL of the page you want to share on G+? – Vidar S. Ramdal Dec 17 '13 at 13:32
8

Google uses Schema.org Microdata information that you have included as part of the page to help determine what it will show on the page. See https://developers.google.com/+/web/snippet/ for details on how you can set this microdata yourself.

In general, you will want to make sure the page is recognized as having microdata by adding itemscope and itemtype attributes to the <body> tag, and then adding the itemprop="image" attribute to the <img> tag.

The exact value you might use for itemtype will depend on what is on the page. But if your page is showing a product, you might use markup like this:

<body itemscope itemtype="http://schema.org/Product">
  ...
  <img itemprop="image" src="{image-url}" />
  ...
</body>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.