Skip to content

Commit

Permalink
Issue-719: Replace webp with wfp module. (#750)
Browse files Browse the repository at this point in the history
Co-authored-by: sonvir249 <[email protected]>
  • Loading branch information
sonvir249 and sonvir249 authored Nov 12, 2024
1 parent 69fcbb3 commit 19ffe87
Show file tree
Hide file tree
Showing 33 changed files with 228 additions and 31 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"drupal/ultimate_cron": "^2.0@alpha",
"drupal/upgrade_status": "^4.0",
"drupal/username_enumeration_prevention": "^1.3",
"drupal/webp": "^1.0@RC",
"drupal/wpf": "^1.2",
"drush/drush": "^12.4",
"longwave/laminas-diactoros": "^2.14",
"npm-asset/anchor-js": "^5.0",
Expand Down
51 changes: 25 additions & 26 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ module:
user: 0
username_enumeration_prevention: 0
views_ui: 0
webp: 0
workflows: 0
wpf: 0
fast404: 1
menu_link_content: 1
pathauto: 1
Expand Down
6 changes: 6 additions & 0 deletions config/sync/image.style.card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 410
height: 192
crop_type: focal_point
346e742d-d17c-4208-b156-5812339ec476:
uuid: 346e742d-d17c-4208-b156-5812339ec476
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_lg_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1280
height: 400
crop_type: focal_point
4917daef-1434-4208-bbf7-a5f9e88ed45c:
uuid: 4917daef-1434-4208-bbf7-a5f9e88ed45c
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_lg_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 2560
height: 800
crop_type: focal_point
4517c920-bb20-40cb-9d8d-2edc4decbbc5:
uuid: 4517c920-bb20-40cb-9d8d-2edc4decbbc5
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_md_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1024
height: 320
crop_type: focal_point
845c67f6-75c7-4321-8f87-577ecdf0d917:
uuid: 845c67f6-75c7-4321-8f87-577ecdf0d917
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_md_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 2048
height: 640
crop_type: focal_point
2c40eafc-0ff8-4d30-8a57-d90ec3be292a:
uuid: 2c40eafc-0ff8-4d30-8a57-d90ec3be292a
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_mobile_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 640
height: 200
crop_type: focal_point
42df8dd1-c7f1-4e71-8935-4f45a0ae016d:
uuid: 42df8dd1-c7f1-4e71-8935-4f45a0ae016d
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_mobile_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1280
height: 400
crop_type: focal_point
56762e47-7354-4f2e-af60-badffc42ed0c:
uuid: 56762e47-7354-4f2e-af60-badffc42ed0c
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_sm_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 768
height: 240
crop_type: focal_point
5904d9f3-a67c-43d8-bfab-26b10f8f141c:
uuid: 5904d9f3-a67c-43d8-bfab-26b10f8f141c
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_sm_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1536
height: 480
crop_type: focal_point
0843a229-7768-4c41-a90f-c633f2fdf82d:
uuid: 0843a229-7768-4c41-a90f-c633f2fdf82d
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_xl_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1536
height: 466
crop_type: focal_point
481711d6-f88e-4a03-84ef-ba4314e6ab3f:
uuid: 481711d6-f88e-4a03-84ef-ba4314e6ab3f
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.hero_xl_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 3072
height: 932
crop_type: focal_point
a13fd71a-b8ca-4ef8-bcf9-0b78a732df01:
uuid: a13fd71a-b8ca-4ef8-bcf9-0b78a732df01
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ effects:
width: 480
height: 480
crop_type: focal_point
e1eb279b-9d91-47ee-a8b0-acf4dafe076b:
uuid: e1eb279b-9d91-47ee-a8b0-acf4dafe076b
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.media_entity_browser_thumbnail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ effects:
width: 350
height: 200
crop_type: focal_point
2e96d10d-25a9-499a-8a56-7b560b81c257:
uuid: 2e96d10d-25a9-499a-8a56-7b560b81c257
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ effects:
width: 220
height: 220
upscale: false
a3d694bc-5420-4898-bb2c-d083ca7ab306:
uuid: a3d694bc-5420-4898-bb2c-d083ca7ab306
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.medium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 220
height: 220
upscale: false
4afe0de5-587c-4c40-813b-23d7fbde9a0e:
uuid: 4afe0de5-587c-4c40-813b-23d7fbde9a0e
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.prose_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ effects:
width: 768
height: null
upscale: false
20beb2f0-b7e1-4a35-9d15-ca54bc72a834:
uuid: 20beb2f0-b7e1-4a35-9d15-ca54bc72a834
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.prose_image_x2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ effects:
width: 1536
height: null
upscale: false
17b5ae17-edbc-4fe4-aa84-6f1ea5eded91:
uuid: 17b5ae17-edbc-4fe4-aa84-6f1ea5eded91
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_lg_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 640
height: 400
crop_type: focal_point
7e0a6e88-4e6b-4c17-9765-b12332a80188:
uuid: 7e0a6e88-4e6b-4c17-9765-b12332a80188
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_lg_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1280
height: 800
crop_type: focal_point
9469d166-db60-43a5-9871-7effd378f084:
uuid: 9469d166-db60-43a5-9871-7effd378f084
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_md_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 512
height: 320
crop_type: focal_point
bc7da43a-1fb1-4506-a9f0-00fc8761c147:
uuid: bc7da43a-1fb1-4506-a9f0-00fc8761c147
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_md_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1024
height: 640
crop_type: focal_point
76233d64-0175-465a-9089-15790bb88bbf:
uuid: 76233d64-0175-465a-9089-15790bb88bbf
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_mobile_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 640
height: 200
crop_type: focal_point
35eaa298-b20f-491c-a58c-d0ad238a0463:
uuid: 35eaa298-b20f-491c-a58c-d0ad238a0463
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_mobile_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1280
height: 400
crop_type: focal_point
8c08c569-070e-4f47-9eb2-06c8d430a579:
uuid: 8c08c569-070e-4f47-9eb2-06c8d430a579
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_sm_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 768
height: 240
crop_type: focal_point
69a9ac01-4511-4276-b66d-914fd4b250f9:
uuid: 69a9ac01-4511-4276-b66d-914fd4b250f9
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_sm_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1536
height: 480
crop_type: focal_point
6aa94ff0-845c-4aca-aa33-6bf7db0b4db3:
uuid: 6aa94ff0-845c-4aca-aa33-6bf7db0b4db3
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_xl_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 768
height: 400
crop_type: focal_point
b6573460-ebc9-4bfd-9709-52910cf553bf:
uuid: b6573460-ebc9-4bfd-9709-52910cf553bf
id: image_convert
weight: 2
data:
extension: webp
6 changes: 6 additions & 0 deletions config/sync/image.style.quote_xl_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ effects:
width: 1536
height: 400
crop_type: focal_point
7f0a3bb1-45c8-42e7-ae08-d39af1890952:
uuid: 7f0a3bb1-45c8-42e7-ae08-d39af1890952
id: image_convert
weight: 2
data:
extension: webp
Loading

0 comments on commit 19ffe87

Please sign in to comment.