# is.logue.block.image

> Published by [logue.is](https://lexicon.garden/identity/did:plc:6xpq2upvl7j6p3ct6rgbb4pd)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.image)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.image/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.image/examples)

## Definitions

### `is.logue.block.image`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No | Alt text description of the image, for accessibility. |
| `image` | `blob` | Yes |  |
| `aspectRatio` | `ref` → `#aspectRatio` | Yes |  |

### `is.logue.block.image#aspectRatio`

**Type**: `object`

width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `width` | `integer` | Yes |  |
| `height` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "is.logue.block.image",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "image",
        "aspectRatio"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "description": "Alt text description of the image, for accessibility."
        },
        "image": {
          "type": "blob",
          "accept": [
            "image/*"
          ],
          "maxSize": 2000000
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        }
      }
    },
    "aspectRatio": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1
        },
        "height": {
          "type": "integer",
          "minimum": 1
        }
      },
      "description": "width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
