Image Max Width

max-width

Property NameTypeDefault

max-width

int

1920

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

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

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

Last updated