Modify MEDIA_TYPES and add MODERN_MEDIA_TYPES

Updated accepted upload mime types and added modern media types.
pull/7434/merge
Shlee 21 hours ago committed by GitHub
parent 8367fdd76f
commit 961ef37fe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,8 +24,8 @@ IMAGE_QUALITY="80"
MAX_PHOTO_SIZE="15000"
MAX_CAPTION_LENGTH="500"
MAX_ALBUM_LENGTH="4"
# Accepted upload mime types. webp/avif/jxl require the vips (or imagick) driver.
MEDIA_TYPES="image/jpeg,image/jpg,image/png,image/gif,image/webp,image/avif,image/jxl"
MEDIA_TYPES="image/jpeg,image/jpg,image/png,image/gif" # Accepted upload mime types.
MODERN_MEDIA_TYPES="image/avif,image/jxl,image/webp" # webp/avif/jxl require the vips driver.
# Instance URL Configuration
# IMPORTANT: Update these with your actual domain

Loading…
Cancel
Save