Property |
Type |
Description |
|
$maxHeight |
|
the maximum width in pixels.
Defaults to null, meaning no limit. |
|
$maxWidth |
|
the maximum width in pixels.
Defaults to null, meaning no limit. |
|
$minHeight |
|
the minimum height in pixels.
Defaults to null, meaning no limit. |
|
$minWidth |
|
the minimum width in pixels.
Defaults to null, meaning no limit. |
|
$notImage |
|
the error message used when the uploaded file is not an image.
You may use the following tokens in the message:
- {attribute}: the attribute name
- {file}: the uploaded file name |
|
$overHeight |
|
the error message used when the image is over [[maxHeight]].
You may use the following tokens in the message:
- {attribute}: the attribute name
- {file}: the uploaded file name
- {limit}: the value of [[maxHeight]] |
|
$overWidth |
|
the error message used when the image is over [[maxWidth]].
You may use the following tokens in the message:
- {attribute}: the attribute name
- {file}: the uploaded file name
- {limit}: the value of [[maxWidth]] |
|
$underHeight |
|
the error message used when the image is under [[minHeight]].
You may use the following tokens in the message:
- {attribute}: the attribute name
- {file}: the uploaded file name
- {limit}: the value of [[minHeight]] |
|
$underWidth |
|
the error message used when the image is under [[minWidth]].
You may use the following tokens in the message:
- {attribute}: the attribute name
- {file}: the uploaded file name
- {limit}: the value of [[minWidth]] |
|