Skip to content

Commit 77ae30a

Browse files
committed
Added support for AVIF images in File Manager; #4506
1 parent 33dc3cf commit 77ae30a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/fieldtypes/file.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,20 @@ Convert the image to WEBP format. Additionally all the `:resize` manipulations c
272272
| master_dim | `auto`/`width`/`height` | `auto`| Master dimension when only width of height is specified |
273273

274274

275+
### `:avif`
276+
277+
{news_image:avif}
278+
279+
Convert the image to AVIF format. Additionally all the `:resize` manipulations can be applied
280+
281+
| Parameter | Values | Default | Description |
282+
| --------- | ------- | ---------- | -------------------------------------- |
283+
| width | `Number` | | Width to crop to, px |
284+
| height | `Number` | | Height to crop to, px |
285+
| quality | `0`-`100`| `75`| Image quality, % |
286+
| maintain_ratio | `y` / `n` | `y`| Keep image ratio (yes/no) |
287+
| master_dim | `auto`/`width`/`height` | `auto`| Master dimension when only width of height is specified |
288+
275289
### `:resize_crop`
276290

277291
{news_image:resize_crop resize:width="300" crop:width="100"}

0 commit comments

Comments
 (0)