@@ -347,6 +347,8 @@ If the system is unable to determine the size of the image, this error will
347347be displayed. This will only occur when at least one of the size constraint
348348options has been set.
349349
350+ This message has no parameters.
351+
350352maxWidthMessage
351353~~~~~~~~~~~~~~~
352354
@@ -427,6 +429,20 @@ Maximum amount expected is {{ max_pixels }} pixels.``
427429
428430The error message if the amount of pixels of the image exceeds `maxPixels `_.
429431
432+ You can use the following parameters in this message:
433+
434+ +----------------------+---------------------------------------+
435+ | Parameter | Description |
436+ +======================+=======================================+
437+ | ``{{ pixels }} `` | The current amount of pixels |
438+ +----------------------+---------------------------------------+
439+ | ``{{ max_pixels }} `` | The maximum allowed amount of pixels |
440+ +----------------------+---------------------------------------+
441+ | ``{{ height }} `` | The current image height |
442+ +----------------------+---------------------------------------+
443+ | ``{{ width }} `` | The current image width |
444+ +----------------------+---------------------------------------+
445+
430446minPixelsMessage
431447~~~~~~~~~~~~~~~~
432448
@@ -435,6 +451,20 @@ Minimum amount expected is {{ min_pixels }} pixels.``
435451
436452The error message if the amount of pixels of the image is less than `minPixels `_.
437453
454+ You can use the following parameters in this message:
455+
456+ +----------------------+---------------------------------------+
457+ | Parameter | Description |
458+ +======================+=======================================+
459+ | ``{{ pixels }} `` | The current amount of pixels |
460+ +----------------------+---------------------------------------+
461+ | ``{{ min_pixels }} `` | The minimum required amount of pixels |
462+ +----------------------+---------------------------------------+
463+ | ``{{ height }} `` | The current image height |
464+ +----------------------+---------------------------------------+
465+ | ``{{ width }} `` | The current image width |
466+ +----------------------+---------------------------------------+
467+
438468maxRatioMessage
439469~~~~~~~~~~~~~~~
440470
@@ -533,5 +563,7 @@ corruptedMessage
533563The error message when the `detectCorrupted `_ option is enabled and the image
534564is corrupted.
535565
566+ This message has no parameters.
567+
536568.. _`IANA website` : http://www.iana.org/assignments/media-types/image/index.html
537569.. _`PHP GD extension` : http://php.net/manual/en/book.image.php
0 commit comments