Meta tags

twitter:image:type

Unsupported X Card field. The retired tag reference documented twitter:image and twitter:image:alt, but not twitter:image:type. Use og:image:type for Open Graph consumers.

Code examples

Avoid this example
<meta name="twitter:image:type" content="image/jpeg">
A valid MIME type in an unsupported X Card field.
Avoid this example
<meta name="twitter:image:type" content="image/png">
A valid MIME type in an unsupported X Card field.
Avoid this example
<meta name="twitter:image:type" content="image/svg+xml">
The field itself is unsupported, regardless of the media type.
Avoid this example
<meta name="twitter:image:type" content="">
An empty unsupported field should be removed.

Recommendations

  • 01
    Remove This Field
    X Card metadata does not define a separate image MIME type tag.
  • 02
    Use Open Graph When Needed
    Declare the served media type with og:image:type after og:image.

Related documentation

Related meta tags

Legacy Twitter App Card field for the numeric App Store ID of an iPad app. X has retired its public App Card reference.

<meta name="twitter:app:id:ipad" content="307234931">
The numeric App Store ID once used by App Cards.

Legacy Twitter App Card field for the numeric App Store ID of an iPhone app. X has retired its public App Card reference.

<meta name="twitter:app:id:iphone" content="307234931">
The numeric App Store ID for the former Twitter iPhone app.

Legacy Twitter App Card field for an Android application ID, usually the package name used by Google Play. X has retired its public App Card reference.

<meta name="twitter:app:id:googleplay" content="com.example.app">
A conventional Android application ID.

Legacy Twitter App Card field for the name of an iPad app. X has retired its public App Card reference.

<meta name="twitter:app:name:ipad" content="My Amazing App">
A plain app name that matches the store listing.

Legacy Twitter App Card field for the name of an Android app. X has retired its public App Card reference.

<meta name="twitter:app:name:googleplay" content="MyApp">
A short app name that matches the store listing.