Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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. (I've seen some other questions on that topic, but this one is not a duplicate I think).

So my question is: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?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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'/>
share|improve this answer
    
Ant this is the confirmation I was looking for. I will try it, and hopefully Google will index these images, thanks! –  Al W Mar 3 '13 at 18:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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