How to Include Lead Image of Webpage When in Tweet Button Is Clicked?


#1

To day I searched $AAPL in the search bar and found that a number of tweets in the search result has a large image in the tweet along with the intro texts.
Here is a screen shot of the image
https://dl.dropboxusercontent.com/u/9846094/Public/cnbc.image.png

How do I implement something like this on my own website’s Tweet button, so that my vistors’ tweets will automatically include the lead image of the page?

I am currently using the following code for the button:

https://dl.dropboxusercontent.com/u/9846094/Public/tweetbutton.1.png

Please tell me what code I can add into this to for getting the the lead images tweeted.

Thank you.


#2

Hi, this is achieved through the use of Twitter Card markup in your website. You’ll want to take a look at [node:8514] documentation and use a Summary or Photo card.


#3

Thank you, I will look into Twitter Card.


#4

#5