html - meta property image not working in linkedin -


meta property image working fine in facebook not in linkedin i'm using

    <meta property="og:image" content='image url' /> 

i tried

<meta property="og:image:width" content="180" /> <meta property="og:image:height" content="110" /> 

but still not working in linkedin

try following:

   <meta prefix="og: http://ogp.me/ns#" property="og:title" content="{your content}" />     <meta prefix="og: http://ogp.me/ns#" property="og:type" content="{your content}" />     <meta prefix="og: http://ogp.me/ns#" property="og:image" content="{your content}" />     <meta prefix="og: http://ogp.me/ns#" property="og:url" content="{your content}" /> 

forexample:

<meta prefix="og: http://ogp.me/ns#" property="og:image" content="http://image.com/myimage.png" /> 

or have @ code provided linkekedin:

<html prefix="og: http://ogp.me/ns#"> <head>   <meta property="og:image" content="http://example.com/foo.jpg" /> </head> <body> 

for highest quality presentation on linkedin.com, image referenced in og:image should @ least 80 x 150px prevent being artificially stretched fit layout.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -