Early Access
twitter:image:height
Specifies the height of the image being used for Twitter cards. This helps Twitter to render the image correctly on different devices and in previews.
Code Examples
<meta name="twitter:image:height" content="600" />
<meta name="twitter:image:height" content="10000" />
<meta name="twitter:image:height" content="50" />
Recommendations
- Optimize for Preview DisplayUse an image height that is optimal for display in Twitter card previews. Oversized images might be cropped, and smaller images may appear blurry.
- Maintain Aspect RatioEnsure the height specified maintains the aspect ratio of your image for best results. Mismatched ratios can result in unintended display issues.
Related Documentation
Related Meta Tags
Specifies the name of your Android app on the Google Play Store. This is utilized in Twitter Cards when you want to promote a mobile application directly from a tweet.
<meta name="twitter:app:name:googleplay" content="MyApp">
Specifies the name of your application tailored for iPad users when sharing content on Twitter.
<meta name="twitter:app:name:ipad" content="My Amazing App">
Specifies the unique application ID for a Google Play app, used within Twitter Cards to direct users to a specific Android app.
<meta name="twitter:app:id:googleplay" content="com.example.app">
Defines the iPhone app ID in the Apple App Store for deep linking from tweets. This is part of Twitter Cards used to enhance tweets with rich media to direct users to web content directly or through an app.
<meta name="twitter:app:id:iphone" content="307234931">
Defines the numeric ID of your iPad application in the Apple App Store, enabling Twitter to link to it when your content is shared.
<meta name="twitter:app:id:ipad" content="307234931">
Community