开发者

facebook links image

开发者 https://www.devze.com 2023-02-18 21:57 出处:网络
When i paste a link to my website i would like facebook to grab certain images from my website to show. How do i do this?

When i paste a link to my website i would like facebook to grab certain images from my website to show. How do i do this?

i tried adding this right below my title tag but it doesnt seem to work, nothing shows

<link rel='image_src' t开发者_Go百科ype='image/jpeg' href='http://www.url.com/myImage.png'>

regards, alexander


You can use the facebook "Open Graph" meta data protocol.

<meta property="og:image" content="http://www.url.com/myImage.png" />

Full Documentation

0

精彩评论

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