Twitter Summary Card Width and Height


Can I check whether I can use the og syntax to get the width and height for my image to put into the twitter as shown below? If it cannot be done, is there any other way for me to define the width and height ? Thanks.

Or Twitter will resize my image at their end ? Appreciate your help.

 <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@nytimesbits" />
<meta name="twitter:creator" content="@nickbilton" />
<meta property="og:url" content="" />
<meta property="og:title" content="A Twitter for My Sister" />
<meta property="og:description" content="In the early days, Twitter grew so quickly that it was almost impossible to add new features because engineers spent their time trying to keep the rocket ship from stalling." />
<meta property="og:image" content="" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="400" />


No, there is no way to specify the dimensions of a card - this is done based on card type on the Twitter side.


Hi Andy,
Thanks for the info. How about the size and resolution of the image? I have a clear and sharp image that I have published on the website but when I shared and tweet it in Twitter, the image shown is quite blur. Can I check will Twitter reduce the size of the image? Is there any maximum size/resolution of the image that I can post before Twitter will reduce the resolution? I have already set the Twitter Card to: Summary Large Card.



Sure, there’s information on that over on this thread (I’d hoped to have the documentation updated by now but it is waiting on a new deploy…). Additionally, some folks have recently reported an issue with strange cropping on Summary Large Image cards, but that should go away shortly.