How use meta tag in order to show image

Author Topic: How use meta tag in order to show image  (Read 31968 times)

Offline sandileonTopic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 4
  • Karma: 0
How use meta tag in order to show image
« on: 07-20-2019, 05:24:02 »
hello all
in some messenger like Telegram when you write URL of any website additional of <title meta tag > and Description Meta tag also shown one picture
i found somethings i put below
i have 2 questions on those fact i figure out please advice me thanks too much:

<meta property="og:site_name" content="******************" />
   <meta property="og:url" content="*******************"/>
   <meta property="og:image" content="********************" />
   <meta property="og:image:type" content="image/jpeg" />

before this meta open graph :og
there are somethings else like :
<meta property="fb:app_id" content="*********"/> i don't know what is it!!!!!
<html data-ytrk-page="TOPIC PAGINATED LARGE" lang="en"> && this also <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"> i don't know what are the functionality exactly
and somewhere something like : <meta name="twitter:image" content.........

as i click on view page source and tracked that i've found for showing Image when you are pasting your URL you should use something like :
<meta property="og:image" content="https://URLOFIMAGE.jpg" />
   <meta property="og:image:type" content="image/jpeg" />


i use that 2 meta tags og:images
but i dont know should i use any things else to achieve my goal ?
should image exist in your host or i can give a external link address

please help







Post Merge: 07-21-2019, 02:40:59

i find solution
just add below type of meta tag then can use in my case i discussed  O0
<html prefix="og: http://ogp.me/ns#">
<meta property="og:image" content="Link of Image /">

<!-- Size of image. Any size up to 300. Anything above 300px will not work in WhatsApp -->
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="300">
« Last Edit: 07-21-2019, 02:40:59 by sandileon »


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1811 Views
Last post 01-06-2014, 22:03:38
by directoryniche
2 Replies
7121 Views
Last post 12-04-2014, 02:15:03
by Stephen
1 Replies
2218 Views
Last post 04-08-2016, 01:50:23
by villadavid
0 Replies
779 Views
Last post 02-02-2017, 23:03:36
by latestnews
7 Replies
2765 Views
Last post 09-19-2017, 23:50:49
by Mark123