---
title: "Create Thumbnail"
description: "Generate thumbnails for nodes with customizable configurations in JSON Schema format. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/behaviors/actions/create-thumbnail"
---

# Create Thumbnail

ID: `createThumbnail`

Creates one or more thumbnails for a node.

### Configuration

| Property | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| attachmentId | text |  | default | The ID of the attachment. |
| thumbnails | array |  |  | An array of thumbnail configuration objects. |

The configuration for this action is described using JSON Schema like this:

```
{
    "title": "Create Thumbnail(s)",
    "properties": {
        "attachmentId": {
            "title": "Attachment ID",
            "type": "string",
            "default": "default"
        },
        "thumbnails": {
            "type": "array",
            "items": {
                "type": "object"
            }
        }
    }
}
```

## See Also

- The [f:thumbnailable](/documentation/gitana/4.0/engine/aspects/thumbnailable.md) feature, which generates thumbnails automatically whenever a node's content or attachments change
