Twitter:image:src or twitter:image


#1

The documentation is not clear on what meta tag to use for an image url.

On: https://dev.twitter.com/docs/cards/types/summary-card
it says you should use: twitter:image

On: https://dev.twitter.com/docs/cards/markup-reference
it ways you should use: twitter:image:src

What’s the right way to do it?


#2

agree


#3

Also the full HTML on the page for ‘summary_large_image’ shows the use of ‘twitter:image:src’.
https://dev.twitter.com/docs/cards/large-image-summary-card

While the ‘summary’ uses ‘twitter:image’.
https://dev.twitter.com/docs/cards/types/summary-card


#4

What is the answer here please?


#5

Bump. Would like to know as well.


#6

It seems the documentation has been updated for using twitter:image only. But somehow github is still using twitter:image:src.


#7

Both will work, but twitter:image is the canonical current tag name to use.