Skip to content

Commit 6c3232c

Browse files
authored
Merge pull request #988 from ExpressionEngine/feature/7.x/avif-files
Added support for AVIF images in File Manager; #4506
2 parents 526a234 + 77ae30a commit 6c3232c

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
@@ -276,6 +276,20 @@ Convert the image to WEBP format. Additionally all the `:resize` manipulations c
276276
| master_dim | `auto`/`width`/`height` | `auto`| Master dimension when only width of height is specified |
277277

278278

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

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

0 commit comments

Comments
 (0)