4

My internet shop displays thumbnails of products' images, and I see that these thumbnail are (slowly) being indexed by Google. I want also full images to be indexed.

Can I use Microdata for this? Something like this:

<meta itemprop="image" content="/uploads/images/medium/product_img.jpg" />

Or:

<meta itemprop="image" src="/uploads/images/medium/product_img.jpg" />

Would it do the trick?

2 Answers 2

3

You should use

<meta itemprop="image" content="/uploads/images/medium/product_img.jpg">

Since src="" is associated with embedding content on the page and content="" is associated with embedding items off the page so to speak. This is the same method as used with the Facebook Open Graph meta as well, take a look:

<meta property='og:image' content='/uploads/images/medium/product_img.jpg'/>
1
  • Ant this is the confirmation I was looking for. I will try it, and hopefully Google will index these images, thanks!
    – Al W
    Commented Mar 3, 2013 at 18:50
0

If the value is a URL, you must use link instead of meta.

<link itemprop="image" href="/uploads/images/medium/product_img.jpg" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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