Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Adding baner photo to links

I am looking for a way to add "baner photo" when pasting link in facebook/google/etc.

Sometimes when you’re posting a link to website, there is photo banner under/above link and I am looking for that.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

If you want to achieve that, you need to know about OG IMAGE

we need to provide OG IMAGE, OG TITLE, and OG DESCRIPTION in head

<meta property="og:title" content="" />
<meta property="og:url" content="" />
<meta property="og:type" content="article" />
<meta property="og:description" content="" />
<meta property="og:image" content="" />


for twitter need to mention some other details


<meta property="twitter:title" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:image" content="" />
<meta property="twitter:card" content="" />

Note: Whatever you enter in "title", it will display as TITLE text for the shared card, as well as description also

you need to pass your image link in the URL place

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading