@@ -353,6 +353,8 @@ If the system is unable to determine the size of the image, this error will
353353be displayed. This will only occur when at least one of the size constraint
354354options has been set.
355355
356+ This message has no parameters.
357+
356358maxWidthMessage
357359~~~~~~~~~~~~~~~
358360
@@ -436,6 +438,20 @@ Maximum amount expected is {{ max_pixels }} pixels.``
436438
437439The error message if the amount of pixels of the image exceeds `maxPixels `_.
438440
441+ You can use the following parameters in this message:
442+
443+ +----------------------+---------------------------------------+
444+ | Parameter | Description |
445+ +======================+=======================================+
446+ | ``{{ pixels }} `` | The current amount of pixels |
447+ +----------------------+---------------------------------------+
448+ | ``{{ max_pixels }} `` | The maximum allowed amount of pixels |
449+ +----------------------+---------------------------------------+
450+ | ``{{ height }} `` | The current image height |
451+ +----------------------+---------------------------------------+
452+ | ``{{ width }} `` | The current image width |
453+ +----------------------+---------------------------------------+
454+
439455minPixelsMessage
440456~~~~~~~~~~~~~~~~
441457
@@ -447,6 +463,20 @@ Minimum amount expected is {{ min_pixels }} pixels.``
447463
448464The error message if the amount of pixels of the image is less than `minPixels `_.
449465
466+ You can use the following parameters in this message:
467+
468+ +----------------------+---------------------------------------+
469+ | Parameter | Description |
470+ +======================+=======================================+
471+ | ``{{ pixels }} `` | The current amount of pixels |
472+ +----------------------+---------------------------------------+
473+ | ``{{ min_pixels }} `` | The minimum required amount of pixels |
474+ +----------------------+---------------------------------------+
475+ | ``{{ height }} `` | The current image height |
476+ +----------------------+---------------------------------------+
477+ | ``{{ width }} `` | The current image width |
478+ +----------------------+---------------------------------------+
479+
450480maxRatioMessage
451481~~~~~~~~~~~~~~~
452482
@@ -545,5 +575,7 @@ corruptedMessage
545575The error message when the `detectCorrupted `_ option is enabled and the image
546576is corrupted.
547577
578+ This message has no parameters.
579+
548580.. _`IANA website` : http://www.iana.org/assignments/media-types/image/index.html
549581.. _`PHP GD extension` : http://php.net/manual/en/book.image.php
0 commit comments