# PostImageInput

Source: https://ardo-docs.dev/v6/de/api-reference/types/postimageinput

```ts
import type { PostImageInput } from "ardo/ui"

type PostImageInput = {
    src: string;
    alt: string;
    caption?: string;
    core?: ImageCore;
    frame?: ImageFrame;
    /** Desired margin per side, as a fraction of the resulting frame. Default: 0.15. */
    margin?: number;
    preset?: string;
};
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` src ` | ` string ` | Yes |  |
| ` alt ` | ` string ` | Yes |  |
| ` caption ` | ` string ` | No |  |
| ` core ` | [` ImageCore `](<https://ardo-docs.dev/v6/de/api-reference/types/imagecore/>) | No |  |
| ` frame ` | [` ImageFrame `](<https://ardo-docs.dev/v6/de/api-reference/types/imageframe/>) | No |  |
| ` margin ` | ` number ` | No | Desired margin per side, as a fraction of the resulting frame. Default: 0.15. |
| ` preset ` | ` string ` | No |  |
