@@ -210,6 +210,10 @@ add several other options.
210
210
211
211
If this option is false, the image cannot be landscape oriented.
212
212
213
+ .. versionadded :: 7.3
214
+
215
+ The ``allowLandscape `` option support for SVG files was introduced in Symfony 7.3.
216
+
213
217
``allowLandscapeMessage ``
214
218
~~~~~~~~~~~~~~~~~~~~~~~~~
215
219
@@ -234,6 +238,10 @@ Parameter Description
234
238
235
239
If this option is false, the image cannot be portrait oriented.
236
240
241
+ .. versionadded :: 7.3
242
+
243
+ The ``allowPortrait `` option support for SVG files was introduced in Symfony 7.3.
244
+
237
245
``allowPortraitMessage ``
238
246
~~~~~~~~~~~~~~~~~~~~~~~~
239
247
@@ -260,6 +268,10 @@ If this option is false, the image cannot be a square. If you want to force
260
268
a square image, then leave this option as its default ``true `` value
261
269
and set `allowLandscape `_ and `allowPortrait `_ both to ``false ``.
262
270
271
+ .. versionadded :: 7.3
272
+
273
+ The ``allowSquare `` option support for SVG files was introduced in Symfony 7.3.
274
+
263
275
``allowSquareMessage ``
264
276
~~~~~~~~~~~~~~~~~~~~~~
265
277
@@ -306,10 +318,6 @@ function, which requires the `PHP GD extension`_ to be enabled.
306
318
If set, the height of the image file must be less than or equal to this
307
319
value in pixels.
308
320
309
- .. versionadded :: 7.3
310
-
311
- The ``maxHeight `` option support for SVG files was introduced in Symfony 7.3.
312
-
313
321
``maxHeightMessage ``
314
322
~~~~~~~~~~~~~~~~~~~~
315
323
@@ -335,10 +343,6 @@ Parameter Description
335
343
If set, the amount of pixels of the image file must be less than or equal to this
336
344
value.
337
345
338
- .. versionadded :: 7.3
339
-
340
- The ``maxPixels `` option support for SVG files was introduced in Symfony 7.3.
341
-
342
346
``maxPixelsMessage ``
343
347
~~~~~~~~~~~~~~~~~~~~
344
348
@@ -366,6 +370,10 @@ Parameter Description
366
370
If set, the aspect ratio (``width / height ``) of the image file must be less
367
371
than or equal to this value.
368
372
373
+ .. versionadded :: 7.3
374
+
375
+ The ``maxRatio `` option support for SVG files was introduced in Symfony 7.3.
376
+
369
377
``maxRatioMessage ``
370
378
~~~~~~~~~~~~~~~~~~~
371
379
@@ -391,10 +399,6 @@ Parameter Description
391
399
If set, the width of the image file must be less than or equal to this
392
400
value in pixels.
393
401
394
- .. versionadded :: 7.3
395
-
396
- The ``maxWidth `` option support for SVG files was introduced in Symfony 7.3.
397
-
398
402
``maxWidthMessage ``
399
403
~~~~~~~~~~~~~~~~~~~
400
404
@@ -437,10 +441,6 @@ error message will be instead: ``The mime type of the file is invalid ({{ type }
437
441
If set, the height of the image file must be greater than or equal to this
438
442
value in pixels.
439
443
440
- .. versionadded :: 7.3
441
-
442
- The ``minHeight `` option support for SVG files was introduced in Symfony 7.3.
443
-
444
444
``minHeightMessage ``
445
445
~~~~~~~~~~~~~~~~~~~~
446
446
@@ -466,10 +466,6 @@ Parameter Description
466
466
If set, the amount of pixels of the image file must be greater than or equal to this
467
467
value.
468
468
469
- .. versionadded :: 7.3
470
-
471
- The ``minPixels `` option support for SVG files was introduced in Symfony 7.3.
472
-
473
469
``minPixelsMessage ``
474
470
~~~~~~~~~~~~~~~~~~~~
475
471
@@ -497,6 +493,10 @@ Parameter Description
497
493
If set, the aspect ratio (``width / height ``) of the image file must be greater
498
494
than or equal to this value.
499
495
496
+ .. versionadded :: 7.3
497
+
498
+ The ``minRatio `` option support for SVG files was introduced in Symfony 7.3.
499
+
500
500
``minRatioMessage ``
501
501
~~~~~~~~~~~~~~~~~~~
502
502
@@ -522,10 +522,6 @@ Parameter Description
522
522
If set, the width of the image file must be greater than or equal to this
523
523
value in pixels.
524
524
525
- .. versionadded :: 7.3
526
-
527
- The ``minWidth `` option support for SVG files was introduced in Symfony 7.3.
528
-
529
525
``minWidthMessage ``
530
526
~~~~~~~~~~~~~~~~~~~
531
527
0 commit comments