NinaMcI
Active member
Hi,
I'm trying to add meta tags so that when a post is tweeted, any image that may be attached to the post is inserted as the image in the Summary Card.
This is what I have:
This just picks up my avatar as the image.
What meta tag should I use to get the post's image attachment to be used?
<meta name="twitter:image" content="{xen:raw $???}">
Thanks
I'm trying to add meta tags so that when a post is tweeted, any image that may be attached to the post is inserted as the image in the Summary Card.
This is what I have:
Code:
<meta name="twitter:description" content="{xen:raw $description}">
<meta name=”twitter:url” content=”{xen:raw $url}“>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@myname">
<meta name="twitter:creator" content="@myname">
<meta name="twitter:title" content="{xen:raw $title}">
This just picks up my avatar as the image.
What meta tag should I use to get the post's image attachment to be used?
<meta name="twitter:image" content="{xen:raw $???}">
Thanks