# Image Max Height

| Property Name | Type | Default |
| ------------- | ---- | ------- |
| max-height    | int  | 1080    |

The `max-height` configuration option allows you to specify the maximum height for images within the CKEditor field. This setting determines the maximum allowed height for uploaded images and ensures that they are automatically resized if their height exceeds this limit.

By default, the `max-height` configuration option is set to `768`, indicating a maximum height of 768 pixels. This helps maintain consistency and prevents excessively tall images from affecting the layout and performance of your application.

To configure the `max-height` option, update the value in the configuration file `config/nova-ckeditor.php` with the desired maximum height value.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mostafaznv.gitbook.io/nova-ckeditor/advanced-usage/configuration/image-max-height.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
