Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_media
Commits
ac6de257
Commit
ac6de257
authored
Nov 29, 2021
by
Eric Bremner
Browse files
ISTWCMS-5204: adding portrait crop type
parent
13ee2a95
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
0 deletions
+38
-0
config/install/core.entity_form_display.media.uw_mt_icon.default.yml
...all/core.entity_form_display.media.uw_mt_icon.default.yml
+1
-0
config/install/core.entity_form_display.media.uw_mt_image.default.yml
...ll/core.entity_form_display.media.uw_mt_image.default.yml
+1
-0
config/install/crop.type.uw_crop_portrait.yml
config/install/crop.type.uw_crop_portrait.yml
+11
-0
config/install/image.style.uw_is_portrait.yml
config/install/image.style.uw_is_portrait.yml
+17
-0
config/install/responsive_image.styles.uw_ris_media.yml
config/install/responsive_image.styles.uw_ris_media.yml
+8
-0
No files found.
config/install/core.entity_form_display.media.uw_mt_icon.default.yml
View file @
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
...
...
config/install/core.entity_form_display.media.uw_mt_image.default.yml
View file @
ac6de257
...
...
@@ -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
:
...
...
config/install/crop.type.uw_crop_portrait.yml
0 → 100644
View file @
ac6de257
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
config/install/image.style.uw_is_portrait.yml
0 → 100644
View file @
ac6de257
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
:
'
'
config/install/responsive_image.styles.uw_ris_media.yml
View file @
ac6de257
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment