large product image structured data and visibility
Posted
by
Mark Resølved
on Pro Webmasters
See other posts from Pro Webmasters
or by Mark Resølved
Published on 2013-10-29T09:23:34Z
Indexed on
2013/10/29
10:20 UTC
Read the original article
Hit count: 284
On an eCommerce site we two images for a product.
One medium sized shown on top of the page and one large photo shown on click in an overlay.
We use http://schema.org/Product microdata on the page.
We'd like the large, initially hidden, photo to be the main image for the product, as it's the better looking one. So it's also referenced in the XML sitemap as <image:image>
.
So we also put the itemprop"image"
attribute on the, hidden large image.
But i'm wondering
is it a bad idea to use a microdata attribute on a hidden
style="display:none;"
element?is there a better way to embed the main image in terms of SEO, without showing it initially?
© Pro Webmasters or respective owner