Skip to content

Commit

Permalink
Update image styles with webp support
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Jul 1, 2021
1 parent a9c6da4 commit d654aca
Show file tree
Hide file tree
Showing 18 changed files with 98 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.card_300x150.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 300
height: 150
anchor: center-center
92cbbd56-919c-4ba7-a387-e7396ed25a89:
uuid: 92cbbd56-919c-4ba7-a387-e7396ed25a89
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.card_480x240.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 480
height: 240
anchor: center-center
85e14dad-f9a7-44aa-9fdb-105dcbd31d99:
uuid: 85e14dad-f9a7-44aa-9fdb-105dcbd31d99
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.card_600x300.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 600
height: 300
anchor: center-center
c002daa1-c693-4d40-bd23-d56bf75d6007:
uuid: c002daa1-c693-4d40-bd23-d56bf75d6007
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.card_780x390.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 780
height: 390
anchor: center-center
59a8ecfa-c676-4311-a3c4-0fa24f5050a4:
uuid: 59a8ecfa-c676-4311-a3c4-0fa24f5050a4
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 640
height: 556
crop_type: focal_point
f1178a8a-c709-4795-ac8e-cb1f33d80b63:
uuid: f1178a8a-c709-4795-ac8e-cb1f33d80b63
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 380
height: 330
crop_type: focal_point
d40d053f-09fb-4beb-be99-f35dcf37fc52:
uuid: d40d053f-09fb-4beb-be99-f35dcf37fc52
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 1300
height: 600
crop_type: focal_point
fb925110-fe48-4303-957c-8f8e68976fdf:
uuid: fb925110-fe48-4303-957c-8f8e68976fdf
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 2600
height: 1200
crop_type: focal_point
a47cfd41-e389-4437-b632-ecaa48cf51cf:
uuid: a47cfd41-e389-4437-b632-ecaa48cf51cf
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 325
height: 150
crop_type: focal_point
025b0696-3b3e-4e69-85b7-69d48f6ab96e:
uuid: 025b0696-3b3e-4e69-85b7-69d48f6ab96e
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 650
height: 300
crop_type: focal_point
265d874e-eaaf-4278-89bb-754ee5f2d61e:
uuid: 265d874e-eaaf-4278-89bb-754ee5f2d61e
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ effects:
width: 970
height: 448
crop_type: focal_point
5f22344d-1767-4a01-9f09-989cc6c7bece:
uuid: 5f22344d-1767-4a01-9f09-989cc6c7bece
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.max_640w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ effects:
width: 640
height: null
upscale: false
0dccef1a-2d21-44fc-a390-812af83117d1:
uuid: 0dccef1a-2d21-44fc-a390-812af83117d1
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.max_970x970.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ effects:
width: 970
height: 970
upscale: false
6a764339-20f6-488c-84c2-70d60eb66083:
uuid: 6a764339-20f6-488c-84c2-70d60eb66083
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.square_200.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ effects:
width: 200
height: 200
anchor: center-center
6051c863-5734-4673-aee4-35ccd1a286cb:
uuid: 6051c863-5734-4673-aee4-35ccd1a286cb
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.square_400.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ effects:
width: 400
height: 400
anchor: center-center
209cc21b-65a8-41e6-8e5e-53e0f0b3d2ae:
uuid: 209cc21b-65a8-41e6-8e5e-53e0f0b3d2ae
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions ubc_image_styles/config/install/image.style.square_600.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ effects:
width: 600
height: 600
anchor: center-center
c70d6b75-5951-4a24-9bcf-bfead909a8ae:
uuid: c70d6b75-5951-4a24-9bcf-bfead909a8ae
id: image_convert
weight: 2
data:
extension: webp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages'
file_extensions: 'doc docx ppt pptx xls xlsx pdf odf odg odp ods odt key numbers pages'
max_filesize: ''
handler: 'default:file'
handler_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default_value: { }
default_value_callback: ''
settings:
file_directory: 'media-uploads/files/[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf pdfx'
file_extensions: 'doc docx ppt pptx xls xlsx pdf odf odg odp ods odt key numbers pages'
max_filesize: ''
description_field: false
handler: 'default:file'
Expand Down

0 comments on commit d654aca

Please sign in to comment.