Convert all images to webp

It's so much smaller!
This commit is contained in:
Jake Howard 2022-09-03 16:15:08 +01:00
parent eb05588b4a
commit be009dcb37
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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