I want to add Google plus button. So user can share products using Google plus. But when i click on share button then Product name, URL everything are correct except product image. Product image not displayed properly. I write below code for create Google Plus Button code.
<a href="#" onclick="popUp=window.open('https://plus.google.com/share?url=my_product_url', 'popupwindow', 'scrollbars=yes,width=800,height=400');popUp.focus();return false">Share on Gogole+</a>
I also try to add some meta tags for resolve this issue but nothing happen.
<meta property="og:title" content="..."/>
<meta property="og:image" content="..."/>
<meta property="og:description" content="..."/>
In sort I need to display current products details and Image on Google plus share popup.
Please help me as soon as possible.
It would be easier to tell what was wrong if you gave an example URL but it sounds like you have markup for multiple entities on your product detail page. When that happens the snippet fetcher will take the image from the first entity in the page.
Use this tool: http://www.google.com/webmasters/tools/richsnippets to test your snippet markup and identify the entities the snippet fetcher is seeing.
You should also take a look at: https://developers.google.com/+/web/snippet/ which shows that we prefer that you use schema.org markup to describe the entities in your page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With