@@ -347,6 +347,8 @@ If the system is unable to determine the size of the image, this error will
347
347
be displayed. This will only occur when at least one of the size constraint
348
348
options has been set.
349
349
350
+ This message has no parameters.
351
+
350
352
maxWidthMessage
351
353
~~~~~~~~~~~~~~~
352
354
@@ -427,6 +429,20 @@ Maximum amount expected is {{ max_pixels }} pixels.``
427
429
428
430
The error message if the amount of pixels of the image exceeds `maxPixels `_.
429
431
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
+
430
446
minPixelsMessage
431
447
~~~~~~~~~~~~~~~~
432
448
@@ -435,6 +451,20 @@ Minimum amount expected is {{ min_pixels }} pixels.``
435
451
436
452
The error message if the amount of pixels of the image is less than `minPixels `_.
437
453
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
+
438
468
maxRatioMessage
439
469
~~~~~~~~~~~~~~~
440
470
@@ -533,5 +563,7 @@ corruptedMessage
533
563
The error message when the `detectCorrupted `_ option is enabled and the image
534
564
is corrupted.
535
565
566
+ This message has no parameters.
567
+
536
568
.. _`IANA website` : http://www.iana.org/assignments/media-types/image/index.html
537
569
.. _`PHP GD extension` : http://php.net/manual/en/book.image.php
0 commit comments