开发者

LinkedIn shareArticle thumbnail

how can you specify which image you want to show on when sharing an article? Now it just picks random images from our site which aren't r开发者_StackOverflow社区elevant. I tried adding an image_src link to the head of my site but this didn't help. Any idea how you can do this?

The API of LinkedIn doesn't tell us how: http://developer.linkedin.com/docs/DOC-1075

Kind regards,

Daan


There is currently no way to specify a thumbnail. They don't seem to use oEmbed, OpenGraph or image_src. However, you can trick it into picking a specific image.

Make your image 62x62 pixels (other sizes will likely work, but non-square aspect ratios failed for us in the combinations we tried). Also, make it the first IMG tag in the document.

If you don't want users to see that image on your site, you can hide it with postion:absolute and right:-999px.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜