We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e99db commit 4c26571Copy full SHA for 4c26571
README.md
@@ -0,0 +1,24 @@
1
+# sorl thumbnail avif
2
+
3
+a python package to add avif support to sorl-thumbnail.
4
5
+**note**: this package will get support until sorl-thumbnail supports avif, then it'll be archived.
6
7
8
+### Installation
9
10
+``` bash
11
+ pip install sorl-thumbnail-avif
12
+```
13
14
+### Usage:
15
16
+add these lines to your settings file:
17
18
+``` python
19
+ THUMBNAIL_FORMAT = "AVIF"
20
+ THUMBNAIL_ENGINE = "sorl_thumbnail_avif.thubmnail.engines.AvifEngine"
21
+ THUMBNAIL_BACKEND = "sorl_thumbnail_avif.thubmnail.AvifThumbnail"
22
23
24
+**note**: you can use any of the sorl-thumbnail supported formats as well, so `JPEG` or others also work.
0 commit comments