Hai Folks,
In this article i will explain how to display thumbnail preview link on whatsapp with simple steps. and i ll add example screens in soon. In previous article How to share content on whatsapp using jQuery ( Title, Link, Thumbnail etc.. ) we can see how to share content like Title, Description, Any links etc using whatsapp.
For this there is a concept meta tags in html. By using this meta tags we can easily add title, thumb, description, site name etc. you need to add these meta tags in side of <head> </head> section. After you have changed your meta tags, you might need to wait a while for possible caches to update.
The following meta tags are used for solve the problem:
<meta property="og:site_name" content="Site-Name-Here">
<meta property="og:title" content="Site-Title-Here" />
In this article i will explain how to display thumbnail preview link on whatsapp with simple steps. and i ll add example screens in soon. In previous article How to share content on whatsapp using jQuery ( Title, Link, Thumbnail etc.. ) we can see how to share content like Title, Description, Any links etc using whatsapp.
For this there is a concept meta tags in html. By using this meta tags we can easily add title, thumb, description, site name etc. you need to add these meta tags in side of <head> </head> section. After you have changed your meta tags, you might need to wait a while for possible caches to update.
The following meta tags are used for solve the problem:
<meta property="og:site_name" content="Site-Name-Here">
<meta property="og:title" content="Site-Title-Here" />
<meta property="og:description" content="Site-Description-Here" />
<meta property="og:image" itemprop="image" content="Image_url here">
<meta property="og:type" content="website" />
<meta property="og:updated_time" content="1440432930" />
The meta tag property og:image is enough for getting thumbnail.
If you still facing problem after adding above tags you can add following two kind of code in your page.
First, Add meta tag og:image inside of <head> </head> section.
<meta property="og:image" content="url_image">
Second, Thumbnail schema from schema.org inside <body> section
<link itemprop="thumbnailUrl" href="Image_url here">
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<link itemprop="url" href="Image_url here">
</span>
I hope you like this article very much & Please don't forget to share.
Thankyou.
<meta property="og:image" itemprop="image" content="Image_url here">
<meta property="og:type" content="website" />
<meta property="og:updated_time" content="1440432930" />
The meta tag property og:image is enough for getting thumbnail.
If you still facing problem after adding above tags you can add following two kind of code in your page.
First, Add meta tag og:image inside of <head> </head> section.
<meta property="og:image" content="url_image">
Second, Thumbnail schema from schema.org inside <body> section
<link itemprop="thumbnailUrl" href="Image_url here">
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<link itemprop="url" href="Image_url here">
</span>
I hope you like this article very much & Please don't forget to share.
Thankyou.