Properly setting up Microdata for "stock image product" by Schema.org standard? -
i'm setting product page sells stock images, , i'd represent via schema.org (using microdata), product, creativework, person, etc., being attributed.
i'm having issue not seem possible mix "product" "creativework" although in case same.
i suppose question this:
how executed necessary attributes included without issues?
here have far:
<div itemscope itemtype="http://schema.org/creativework"> <h1 itemprop="headline">some image me!</h1> <div itemscope itemtype="http://www.schema.org/imageobject"> <a href="http://www.example.com/mypic.png"><img itemprop="image thumbnail contenturl" src="http://www.example.com/mypic.png" /></a> <span itemprop="contentsize">20mb</span> <span itemprop="width">2000</span> <span itemprop="height">2000</span> <meta itemprop="datepublished" content="jan 25, 2013"> <span itemprop="caption description">this description</span> <div itemprop="copyrightholder creator contributor author" itemscope itemtype="http://schema.org/person"> <a itemprop="url" href="www.here.com"><div itemprop="name"><strong>john doe</strong></div> </a> <div itemprop="jobtitle">illustrator</div> <div itemprop="description">does cool illustrations</div> </div> <div itemprop="keywords">keyword1, keyword2, keyword3</div> </div> </div>
if understand correctly, have one image in example. in case, doesn’t make sense have both, creativework
, imageobject
. use imageobject
only, more specific creativework
.
when want offer image (e.g., sale), use offers
property.
so structure like:
<article itemscope itemtype="http://schema.org/imageobject"> <!-- work --> <div itemprop="offers" itemscope itemtype="http://schema.org/offer"> <!-- offer --> </div> </article>
Comments
Post a Comment