: Microdata for product images which aren't displayed in the page? My internet shop displays thumbnails of products' images, and I see that these thumbnail are (slowly) being indexed by Google.
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?
More posts by @Si4351233
2 Comments
Sorted by latest first Latest Oldest Best
If the value is a URL, you must use link instead of meta.
<link itemprop="image" href="/uploads/images/medium/product_img.jpg" />
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'/>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.