Including an image link for results with <meta property="og:image">

226 views
Skip to first unread message

李傑

unread,
Dec 12, 2014, 4:38:51 AM12/12/14
to Google-Search-...@googlegroups.com
Hi all,

Referring to http://www.google.com/support/enterprise/static/gsa/docs/admin/72/gsa_doc_set/admin_searchexp/adv_customization.html#1016814, in order to include an image link for results, a meta tag which containing an absolute link to a thumbnail image should be included in the page. 
E.g. 
<meta name="product-image" content="http://www.mywebserver.com/example/images/prince_small.jpg" />

After adding image link code to my XSLT stylesheet, it works.

However, it would be time consuming to add a tag for all my pages.

In the meantime, my pages already have other meta tags for thumbnails:

<meta property="og:image" content="http://www.mysite.com/images/image1.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="230" />
<meta property="og:image:height" content="230" />

Is there any way I can use these tags for adding a thumbnail for my search results? 

Thanks,
Kit

Mathias Bierl

unread,
Dec 12, 2014, 4:41:48 AM12/12/14
to Google-Search-...@googlegroups.com
Currently not because the GSA only reads <meta name="..."> Tags and transforms it into Metatags which can be used by XSLT or Dynamic navigation.

Is this a CMS, then it should be easy to print out the information twice

李傑

unread,
Dec 14, 2014, 11:55:30 PM12/14/14
to Google-Search-...@googlegroups.com
Pages are from different sources which manual changes are required...

Anyway, noted with thanks!
Reply all
Reply to author
Forward
0 new messages