---
title: "og:image:type · Meta Tag · zhead"
canonical_url: "https://zhead.dev/meta/og-image-type"
last_updated: "2026-08-10T16:29:03.121Z"
meta:
  description: "Provides the MIME type of the image resource declared by the preceding og:image property."
  "og:description": "Provides the MIME type of the image resource declared by the preceding og:image property."
  "og:title": "og:image:type · Meta Tag · zhead"
---

Open Graph metadata

# og:image:type

Provides the MIME type of the image resource declared by the preceding og:image property.

## Code examples

Good example

```
<meta property="og:image:type" content="image/jpeg">
```

The registered media type for JPEG images.

Good example

```
<meta property="og:image:type" content="image/png">
```

The registered media type for PNG images.

Avoid this example

```
<meta property="og:image:type" content="image/jpg">
```

The registered media type is image/jpeg, not image/jpg.

Avoid this example

```
<meta property="og:image:type" content="text/html">
```

This does not describe an image resource.

## Recommendations

- 01 Match the Response Use the media type served for the image. A guessed or mismatched value can mislead consumers.
- 02 Use a Registered Type Choose the IANA media type for the image format.

## Related documentation

- [Open Graph protocol](https://ogp.me/)
- [IANA: Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml#image)

## Related meta tags

### [og:audio](https://zhead.dev/meta/og-audio)

property

Provides the URL of an audio file that accompanies the Open Graph object.

```
<meta property="og:audio" content="https://example.com/birdsong.mp3">
```

An absolute, public URL to the audio file.

### [og:audio:secure\_url](https://zhead.dev/meta/og-audio-secure-url)

property

Provides an alternate HTTPS URL for the audio declared by the preceding og:audio property.

```
<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
```

A valid HTTPS alternate for the audio resource.

### [og:audio:type](https://zhead.dev/meta/og-audio-type)

property

Provides the MIME type of the audio resource declared by the preceding og:audio property.

```
<meta property="og:audio:type" content="audio/mpeg">
```

The registered media type for MP3 audio.

### [og:audio:url](https://zhead.dev/meta/og-audio-url)

property

An alias of og:audio. It provides the URL of an audio file that accompanies the object.

```
<meta property="og:audio:url" content="https://example.com/audio.mp3">
```

An absolute URL to the audio file.

### [og:description](https://zhead.dev/meta/og-description)

property

Provides a one or two sentence description of the Open Graph object.

```
<meta property="og:description" content="A practical guide to choosing and caring for indoor plants in low-light rooms.">
```

Explains the subject in one specific sentence.