Skip to content

Commit 5e7bf61

Browse files
committed
minor #20497 [Validator] Cannot validate svg image size (MrYamous)
This PR was merged into the 6.4 branch. Discussion ---------- [Validator] Cannot validate svg image size As an addition of #20496 and considering what is described in related [code PR](symfony/symfony#59265) I think it can be helpful to explicit mention this restriction for SVG images Commits ------- 248d4ff cannot validate svg image size
2 parents 476bb59 + 248d4ff commit 5e7bf61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/constraints/Image.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,5 +530,10 @@ options has been set.
530530

531531
This message has no parameters.
532532

533+
.. note::
534+
535+
SVG images sizes are not currently supported. Using size constraints with
536+
these files will display this message.
537+
533538
.. _`IANA website`: https://www.iana.org/assignments/media-types/media-types.xhtml
534539
.. _`PHP GD extension`: https://www.php.net/manual/en/book.image.php

0 commit comments

Comments
 (0)