Commit d7fbcd3d authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-5204-ebremner-contacts' into '1.0.x'

ISTWCMS-5204: adding portrait crop type

See merge request !10
parents 13ee2a95 ac6de257
......@@ -6,6 +6,7 @@ dependencies:
- image.style.thumbnail
- media.type.uw_mt_icon
module:
- filefield_sources
- path
- svg_image
id: media.uw_mt_icon.default
......
......@@ -28,6 +28,7 @@ content:
- uw_crop_media_small
- uw_crop_media_x_large
- uw_crop_media_x_small
- uw_crop_portrait
crop_types_required: { }
show_crop_area: false
third_party_settings:
......
langcode: en
status: true
dependencies: { }
id: uw_crop_portrait
label: 'UW Portrait'
description: 'Crop for portrait'
aspect_ratio: '500:700'
soft_limit_width: 500
soft_limit_height: 700
hard_limit_width: null
hard_limit_height: null
langcode: en
status: true
dependencies:
config:
- crop.type.uw_crop_portrait
module:
- crop
name: uw_is_portrait
label: 'UW Portrait'
effects:
de412abc-2394-45ec-90de-03fe592c9229:
uuid: de412abc-2394-45ec-90de-03fe592c9229
id: crop_crop
weight: 1
data:
crop_type: uw_crop_portrait
pipeline: ''
......@@ -8,6 +8,9 @@ dependencies:
- image.style.uw_is_media_small
- image.style.uw_is_media_x_large
- image.style.uw_is_media_x_small
- image.style.uw_is_portrait
theme:
- uw_fdsu_theme_resp
id: uw_ris_media
label: 'UW media'
image_style_mappings:
......@@ -36,5 +39,10 @@ image_style_mappings:
multiplier: 1x
image_mapping_type: image_style
image_mapping: uw_is_media_small
-
breakpoint_id: uw_fdsu_theme_resp.portrait
multiplier: 1x
image_mapping_type: image_style
image_mapping: uw_is_portrait
breakpoint_group: uw_fdsu_theme_resp
fallback_image_style: large
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment