diff --git a/modules/df/df_tools/df_tools_crop/config/install/crop.type.square.yml b/modules/df/df_tools/df_tools_crop/config/install/crop.type.square.yml new file mode 100644 index 000000000..22752b691 --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/config/install/crop.type.square.yml @@ -0,0 +1,13 @@ +uuid: 4bc352ab-055b-4fd2-9b7d-9460eaefb279 +langcode: en +status: true +dependencies: { } +label: Square +id: square +description: '' +aspect_ratio: '1:1' +soft_limit_width: null +soft_limit_height: null +hard_limit_width: 50 +hard_limit_height: 50 + diff --git a/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.browse_content.yml b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.browse_content.yml new file mode 100644 index 000000000..4922b543f --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.browse_content.yml @@ -0,0 +1,18 @@ +dependencies: + module: + - crop +effects: + f877f421-62b5-4d01-9500-b5b0003263a4: + uuid: f877f421-62b5-4d01-9500-b5b0003263a4 + id: image_scale_and_crop + weight: -9 + data: + width: 345 + height: 345 + ba3ecbd4-5b23-459c-b91e-5b080a7dca23: + uuid: ba3ecbd4-5b23-459c-b91e-5b080a7dca23 + id: crop_crop + weight: -10 + data: + crop_type: square + diff --git a/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.large.yml b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.large.yml new file mode 100644 index 000000000..fd3d489f9 --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.large.yml @@ -0,0 +1,19 @@ +dependencies: + module: + - crop +effects: + ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d: + uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d + id: image_scale + weight: -9 + data: + width: 480 + height: 480 + upscale: false + bbbf5405-d3ef-4618-9c8a-ea64c87035d2: + uuid: bbbf5405-d3ef-4618-9c8a-ea64c87035d2 + id: crop_crop + weight: -10 + data: + crop_type: square + diff --git a/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.medium.yml b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.medium.yml new file mode 100644 index 000000000..5f2da488e --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.medium.yml @@ -0,0 +1,19 @@ +dependencies: + module: + - crop +effects: + bddf0d06-42f9-4c75-a700-a33cafa25ea0: + uuid: bddf0d06-42f9-4c75-a700-a33cafa25ea0 + id: image_scale + weight: -9 + data: + width: 350 + height: 350 + upscale: false + 94c3cb9c-7d93-4006-b3ad-176ad17bbc47: + uuid: 94c3cb9c-7d93-4006-b3ad-176ad17bbc47 + id: crop_crop + weight: -10 + data: + crop_type: square + diff --git a/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.thumbnail.yml b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.thumbnail.yml new file mode 100644 index 000000000..03d6e32de --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/config/rewrite/image.style.thumbnail.yml @@ -0,0 +1,18 @@ +dependencies: + module: + - crop +effects: + c1815ac9-f69d-48f8-a301-fe87de0c3dd8: + uuid: c1815ac9-f69d-48f8-a301-fe87de0c3dd8 + id: image_scale_and_crop + weight: 2 + data: + width: 100 + height: 100 + 65fa2c01-c68c-4802-b689-a3d40b74f621: + uuid: 65fa2c01-c68c-4802-b689-a3d40b74f621 + id: crop_crop + weight: 2 + data: + crop_type: square + diff --git a/modules/df/df_tools/df_tools_crop/df_tools_crop.info.yml b/modules/df/df_tools/df_tools_crop/df_tools_crop.info.yml new file mode 100644 index 000000000..909f27252 --- /dev/null +++ b/modules/df/df_tools/df_tools_crop/df_tools_crop.info.yml @@ -0,0 +1,7 @@ +name: DF Tools Core +type: module +description: Provides some basic cropping. +core: 8.x +package: Demo Framework Tools +dependencies: + - image_widget_crop