Convert all images to webp
It's so much smaller!
This commit is contained in:
parent
eb05588b4a
commit
be009dcb37
1 changed files with 5 additions and 0 deletions
|
@ -176,6 +176,11 @@ WHITENOISE_SKIP_COMPRESS_EXTENSIONS = list(
|
|||
MEDIA_ROOT = BASE_DIR / "media"
|
||||
MEDIA_URL = "/media/"
|
||||
|
||||
WAGTAILIMAGES_FORMAT_CONVERSIONS = {
|
||||
"webp": "webp",
|
||||
"jpeg": "webp",
|
||||
"png": "webp",
|
||||
}
|
||||
|
||||
# Wagtail settings
|
||||
|
||||
|
|
Loading…
Reference in a new issue