Availability: >= 3.1.3

Type: Object Property

Description: Default maximum height of images


$editor->maxImageDisplayHeight int $height

This sets the default maximum height of images when inserting an image into the document. This only affects the HTML code for the image, it does not resize the image itself. Users can easily override this by specifying a different height or by dragging to resize the image in the editor.

To force images to be resized when they are uploaded see maxImageWidth and maxImageHeight

See also:

maxImageDisplayWidth, maxMediaDisplayWidth, maxMediaDisplayHeight