Skip to content

Commit 4cf3e06

Browse files
[Validator] Improve Image constraint invalid mime type message
1 parent 868e311 commit 4cf3e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Image.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ You can find a list of existing image mime types on the `IANA website`_.
442442
``mimeTypesMessage``
443443
~~~~~~~~~~~~~~~~~~~~
444444

445-
**type**: ``string`` **default**: ``This file is not a valid image.``
445+
**type**: ``string`` **default**: ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.``
446446

447447
``minHeight``
448448
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)