We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf08882 commit 4e9a47eCopy full SHA for 4e9a47e
reference/constraints/Image.rst
@@ -444,8 +444,8 @@ You can find a list of existing image mime types on the `IANA website`_.
444
445
**type**: ``string`` **default**: ``This file is not a valid image.``
446
447
-The message ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.`` will be displayed
448
-if the allowed `mimeTypes`_ are only a subset of ``image/*``.
+If all the values of the `mimeTypes`_ option are a subset of ``image/*``, the
+error message will be instead: ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.``
449
450
.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc
451
0 commit comments