0
如果我有一个链接页面product.html页面categories.html,我可以在Schema.org中为同一产品使用不同的产品图片吗?
是它确定在categories.html纪念产品小图像作为该产品的Schema.org image
,甚至是有product.html页面中产品的更详细的图像?
(我正在使用Microdata。)
如果我有一个链接页面product.html页面categories.html,我可以在Schema.org中为同一产品使用不同的产品图片吗?
是它确定在categories.html纪念产品小图像作为该产品的Schema.org image
,甚至是有product.html页面中产品的更详细的图像?
(我正在使用Microdata。)
是的,应该没问题。
请注意,您仍然可以提供大图像而不显示它。这是可能的link
元素,例如:
<article itemscope itemtype="http://schema.org/Product">
<img src="small-image.png" alt="…" />
<link itemprop="image" href="big-image.png" />
</article>
如果你想成为真正的表现,你可以提供一个ImageObject
值,并使用其thumbnail
属性:
<article itemscope itemtype="http://schema.org/Product">
<div itemprop="image" itemscope itemtype="http://schema.org/ImageObject">
<img itemprop="thumbnail" src="small-image.png" alt="…" />
<link itemprop="contentUrl" href="big-image.png" />
</div>
</article>