Skip to content

Commit

Permalink
feat(YALB-1425): disallow gif images
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dblanken-yale committed Sep 19, 2023
1 parent a2103c1 commit 4cead58
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
Expand All @@ -33,7 +33,7 @@ settings:
title_field: false
title_field_required: false
default_image:
uuid: null
uuid: ''
alt: ''
title: ''
width: null
Expand Down

0 comments on commit 4cead58

Please sign in to comment.