Revert "Update display of media images in slides"
This reverts commit 766093f539
.
This commit is contained in:
parent
766093f539
commit
ad1a2a614f
9 changed files with 19 additions and 140 deletions
|
@ -31,7 +31,6 @@ content:
|
||||||
preview_image_style: media_library
|
preview_image_style: media_library
|
||||||
crop_preview_image_style: crop_thumbnail
|
crop_preview_image_style: crop_thumbnail
|
||||||
crop_list:
|
crop_list:
|
||||||
- extra_wide_5_1
|
|
||||||
- extra_wide_rectangle
|
- extra_wide_rectangle
|
||||||
- wide_rectangle
|
- wide_rectangle
|
||||||
crop_types_required: { }
|
crop_types_required: { }
|
||||||
|
|
|
@ -1,67 +0,0 @@
|
||||||
uuid: 870f5f54-b5cc-4ad9-a7ba-d8cf0352282a
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- core.entity_form_mode.media.paragraph
|
|
||||||
- field.field.media.image.field_media_image
|
|
||||||
- image.style.drutopia_wide
|
|
||||||
- media.type.image
|
|
||||||
module:
|
|
||||||
- image_widget_crop
|
|
||||||
- path
|
|
||||||
_core:
|
|
||||||
default_config_hash: v5qWuH4sE0OlCxD1-nK7_3VpLAN3Doi1y05Hvl-7Zwk
|
|
||||||
id: media.image.paragraph
|
|
||||||
targetEntityType: media
|
|
||||||
bundle: image
|
|
||||||
mode: paragraph
|
|
||||||
content:
|
|
||||||
created:
|
|
||||||
type: datetime_timestamp
|
|
||||||
weight: 10
|
|
||||||
region: content
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
field_media_image:
|
|
||||||
type: image_widget_crop
|
|
||||||
weight: 0
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
progress_indicator: throbber
|
|
||||||
preview_image_style: drutopia_wide
|
|
||||||
crop_preview_image_style: wide
|
|
||||||
crop_list:
|
|
||||||
- extra_wide_5_1
|
|
||||||
- extra_wide_rectangle
|
|
||||||
- wide_rectangle
|
|
||||||
crop_types_required: { }
|
|
||||||
warn_multiple_usages: true
|
|
||||||
show_crop_area: false
|
|
||||||
show_default_crop: true
|
|
||||||
third_party_settings: { }
|
|
||||||
path:
|
|
||||||
type: path
|
|
||||||
weight: 30
|
|
||||||
region: content
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
status:
|
|
||||||
type: boolean_checkbox
|
|
||||||
weight: 100
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
display_label: true
|
|
||||||
third_party_settings: { }
|
|
||||||
uid:
|
|
||||||
type: entity_reference_autocomplete
|
|
||||||
weight: 5
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
match_operator: CONTAINS
|
|
||||||
match_limit: 10
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
hidden:
|
|
||||||
name: true
|
|
|
@ -33,7 +33,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
media_types: { }
|
media_types: { }
|
||||||
form_mode: paragraph
|
form_mode: default
|
||||||
check_selected: false
|
check_selected: false
|
||||||
replace_checkbox_by_order_indicator: false
|
replace_checkbox_by_order_indicator: false
|
||||||
multi_edit_on_create: false
|
multi_edit_on_create: false
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
uuid: 3f6d7521-af7b-478a-8925-f14b8afd2a89
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
module:
|
|
||||||
- media
|
|
||||||
id: media.paragraph
|
|
||||||
label: Paragraph
|
|
||||||
description: ''
|
|
||||||
targetEntityType: media
|
|
||||||
cache: true
|
|
|
@ -6,7 +6,7 @@ dependencies:
|
||||||
- core.entity_view_mode.media.wide
|
- core.entity_view_mode.media.wide
|
||||||
- field.field.media.image.field_media_image
|
- field.field.media.image.field_media_image
|
||||||
- media.type.image
|
- media.type.image
|
||||||
- responsive_image.styles.wide_and_flat
|
- responsive_image.styles.drutopia_main
|
||||||
module:
|
module:
|
||||||
- responsive_image
|
- responsive_image
|
||||||
_core:
|
_core:
|
||||||
|
@ -20,10 +20,10 @@ content:
|
||||||
type: responsive_image
|
type: responsive_image
|
||||||
label: hidden
|
label: hidden
|
||||||
settings:
|
settings:
|
||||||
responsive_image_style: wide_and_flat
|
responsive_image_style: drutopia_extra_wide
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_loading:
|
image_loading:
|
||||||
attribute: lazy
|
attribute: eager
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 1
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
|
|
|
@ -8,8 +8,10 @@ dependencies:
|
||||||
- field.field.paragraph.slide.field_media_image
|
- field.field.paragraph.slide.field_media_image
|
||||||
- field.field.paragraph.slide.field_text
|
- field.field.paragraph.slide.field_text
|
||||||
- paragraphs.paragraphs_type.slide
|
- paragraphs.paragraphs_type.slide
|
||||||
|
- responsive_image.styles.drutopia_main
|
||||||
module:
|
module:
|
||||||
- link
|
- link
|
||||||
|
- media_responsive_thumbnail
|
||||||
- text
|
- text
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: UAPQqmLqL09HJqncuKGUGYmYfBq2PFHcEOyes55hDek
|
default_config_hash: UAPQqmLqL09HJqncuKGUGYmYfBq2PFHcEOyes55hDek
|
||||||
|
@ -18,6 +20,14 @@ targetEntityType: paragraph
|
||||||
bundle: slide
|
bundle: slide
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
|
field_image:
|
||||||
|
type: image_url
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
image_style: focal_point_2600x1300
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
field_link:
|
field_link:
|
||||||
type: link
|
type: link
|
||||||
label: hidden
|
label: hidden
|
||||||
|
@ -31,11 +41,13 @@ content:
|
||||||
weight: 2
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
field_media_image:
|
field_media_image:
|
||||||
type: entity_reference_entity_view
|
type: media_responsive_thumbnail
|
||||||
label: hidden
|
label: hidden
|
||||||
settings:
|
settings:
|
||||||
view_mode: wide
|
responsive_image_style: drutopia_main
|
||||||
link: false
|
image_link: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
uuid: 9fffaa94-3acb-4cae-9759-dc0542d23d71
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
label: 'Extra wide 5:1'
|
|
||||||
id: extra_wide_5_1
|
|
||||||
description: ''
|
|
||||||
aspect_ratio: '5:1'
|
|
||||||
soft_limit_width: 1000
|
|
||||||
soft_limit_height: 200
|
|
||||||
hard_limit_width: 50
|
|
||||||
hard_limit_height: 10
|
|
|
@ -1,26 +0,0 @@
|
||||||
uuid: 2200bf93-a434-48bc-a4f4-b33096994dbe
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- crop.type.extra_wide_5_1
|
|
||||||
module:
|
|
||||||
- crop
|
|
||||||
name: crop_1500x300
|
|
||||||
label: 'Crop (1500x300)'
|
|
||||||
effects:
|
|
||||||
bdf1cb17-bef6-4a3d-a1d9-48934810166d:
|
|
||||||
uuid: bdf1cb17-bef6-4a3d-a1d9-48934810166d
|
|
||||||
id: crop_crop
|
|
||||||
weight: 1
|
|
||||||
data:
|
|
||||||
crop_type: extra_wide_5_1
|
|
||||||
automatic_crop_provider: null
|
|
||||||
16c611fa-d9ff-472e-8bc8-247d0864a18f:
|
|
||||||
uuid: 16c611fa-d9ff-472e-8bc8-247d0864a18f
|
|
||||||
id: image_scale
|
|
||||||
weight: 2
|
|
||||||
data:
|
|
||||||
width: 1500
|
|
||||||
height: 300
|
|
||||||
upscale: false
|
|
|
@ -1,16 +0,0 @@
|
||||||
uuid: 26ffc89d-2091-451a-abab-b91e63f098f4
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- image.style.crop_1500x300
|
|
||||||
id: wide_and_flat
|
|
||||||
label: 'Wide and flat'
|
|
||||||
image_style_mappings:
|
|
||||||
-
|
|
||||||
image_mapping_type: image_style
|
|
||||||
image_mapping: crop_1500x300
|
|
||||||
breakpoint_id: responsive_image.viewport_sizing
|
|
||||||
multiplier: 1x
|
|
||||||
breakpoint_group: responsive_image
|
|
||||||
fallback_image_style: crop_1500x300
|
|
Loading…
Add table
Reference in a new issue