From 4cead5811147dbd7f291a5bc6b5833ac2a5ad1e9 Mon Sep 17 00:00:00 2001 From: David Blankenship Date: Tue, 19 Sep 2023 08:57:34 -0400 Subject: [PATCH] feat(YALB-1425): disallow gif images This modifies the shared field_media_image field to disallow gif files across the site as a way to disallow animations. The idea was that if you are using a GIF, you probably are animating it. If you are not, then you probably want to use a PNG file. --- .../config/sync/field.field.media.image.field_media_image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.media.image.field_media_image.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.media.image.field_media_image.yml index f06a112866..4a2ca6e6da 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.media.image.field_media_image.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.media.image.field_media_image.yml @@ -24,7 +24,7 @@ settings: handler: 'default:file' handler_settings: { } file_directory: '[date:custom:Y]-[date:custom:m]' - file_extensions: 'png gif jpg jpeg' + file_extensions: 'png jpg jpeg' max_filesize: '' max_resolution: '' min_resolution: '' @@ -33,7 +33,7 @@ settings: title_field: false title_field_required: false default_image: - uuid: null + uuid: '' alt: '' title: '' width: null