Add recommendation image style
This commit is contained in:
parent
ebe5a7dbba
commit
bb0841e8d7
2 changed files with 17 additions and 1 deletions
|
@ -7,6 +7,7 @@ dependencies:
|
||||||
- field.field.block_content.recommendation.body
|
- field.field.block_content.recommendation.body
|
||||||
- field.field.block_content.recommendation.field_photo
|
- field.field.block_content.recommendation.field_photo
|
||||||
- field.field.block_content.recommendation.field_role
|
- field.field.block_content.recommendation.field_role
|
||||||
|
- image.style.recommendation
|
||||||
module:
|
module:
|
||||||
- image
|
- image
|
||||||
- text
|
- text
|
||||||
|
@ -26,7 +27,7 @@ content:
|
||||||
weight: 3
|
weight: 3
|
||||||
label: hidden
|
label: hidden
|
||||||
settings:
|
settings:
|
||||||
image_style: ''
|
image_style: recommendation
|
||||||
image_link: ''
|
image_link: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: image
|
type: image
|
||||||
|
|
15
config/default/image.style.recommendation.yml
Normal file
15
config/default/image.style.recommendation.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
uuid: 6e1d5f98-9c38-41b3-b95a-cb8253460f8d
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: recommendation
|
||||||
|
label: 'Recommendation (100x100 cropped)'
|
||||||
|
effects:
|
||||||
|
2ca802c5-477f-45d7-a073-b9d7bbf55f12:
|
||||||
|
uuid: 2ca802c5-477f-45d7-a073-b9d7bbf55f12
|
||||||
|
id: image_scale_and_crop
|
||||||
|
weight: 1
|
||||||
|
data:
|
||||||
|
width: 100
|
||||||
|
height: 100
|
||||||
|
anchor: center-center
|
Loading…
Add table
Add a link
Reference in a new issue