Skip to content
Snippets Groups Projects
Commit 6ceb7dd9 authored by Tasneem Natshah's avatar Tasneem Natshah
Browse files

Issue #3340349: Add Media Image Styles

parent 1cc81c1c
No related branches found
No related tags found
No related merge requests found
Showing
with 347 additions and 0 deletions
uuid: 9cad09a8-b7e5-48a0-ba66-7de0b2d251ed
langcode: en
status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- field_layout
- image
- layout_discovery
- path
third_party_settings:
field_layout:
id: layout_onecol
settings:
label: ''
_core:
default_config_hash: JSY4-JPyNZBiYYo6imdRYF6_SdtWQexPndrLvn3-vw4
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_image:
type: image_image
weight: 0
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
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
uuid: 7d6b0088-e422-4092-8811-1e2bb64fb0a2
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- field_layout
- image
- layout_discovery
third_party_settings:
field_layout:
id: layout_onecol
settings:
label: ''
_core:
default_config_hash: BMLrK4zKp8-FFnMseBdT_6h6YipUsKRfbDf_3WUB5HA
id: media.image.media_library
targetEntityType: media
bundle: image
mode: media_library
content:
field_media_image:
type: image_image
weight: 1
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
hidden:
created: true
name: true
path: true
status: true
uid: true
uuid: 03f036b7-62aa-41c5-a298-14fc4bb63037
langcode: en
status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
module:
- image
_core:
default_config_hash: whJrNezqUJ7Qhg7raMQj2Hz9JPiWxijezhWIEN9BVVk
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
field_media_image:
type: image
label: visually_hidden
settings:
image_link: ''
image_style: large
image_loading:
attribute: lazy
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
uuid: 0858d3bc-dc2b-427e-82a4-c1e453e9bb1a
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.full
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
module:
- image
- layout_builder
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
_core:
default_config_hash: whJrNezqUJ7Qhg7raMQj2Hz9JPiWxijezhWIEN9BVVk
id: media.image.full
targetEntityType: media
bundle: image
mode: full
content:
field_media_image:
type: image
label: visually_hidden
settings:
image_link: ''
image_style: large
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
uuid: 2bc95ffa-c36a-41b8-a110-08562944a1b3
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.image.field_media_image
- image.style.medium
- media.type.image
module:
- image
_core:
default_config_hash: p4SdSdLBlqfympeNav_Tdpn0-pL62tbjc348_zcPof4
id: media.image.media_library
targetEntityType: media
bundle: image
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_link: ''
image_style: medium
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_image: true
name: true
uid: true
uuid: 4d566627-b158-449b-bf58-d74c1960667d
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_image
- media.type.image
module:
- image
enforced:
module:
- media
_core:
default_config_hash: HGRX21ciyn7K-q8KMxsKHQvIB4SHT-A3bqzmNDnGKyc
id: media.image.field_media_image
field_name: field_media_image
entity_type: media
bundle: image
label: Image
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
field_type: image
uuid: ecaec165-04c4-483d-80c4-6f8333c67f87
langcode: en
status: true
dependencies:
module:
- file
- image
- media
enforced:
module:
- media
_core:
default_config_hash: 0N0KSFk57p6qsq3qM4lYVGSuROvzXK-tSsdwByqUh3g
id: media.field_media_image
field_name: field_media_image
entity_type: media
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
_core:
default_config_hash: k-yDFHbqNfpe-Srg4sdCSqaosCl2D8uwyEY5esF8gEw
preview_image: core/modules/image/sample.png
allow_insecure_derivatives: false
suppress_itok_output: false
uuid: 2a843d2e-1bd5-4c12-99c8-09e8535b051c
langcode: en
status: true
dependencies:
enforced:
module:
- media_library
_core:
default_config_hash: 7qJqToD1OQLAyeswpmg7M0LRxQlw1URQkJDWUJCnmR8
name: media_library
label: 'Media Library thumbnail (220×220)'
effects:
75b076a8-1234-4b42-85db-bf377c4d8d5f:
uuid: 75b076a8-1234-4b42-85db-bf377c4d8d5f
id: image_scale
weight: 0
data:
width: 220
height: 220
upscale: false
uuid: 941c3a69-cbd1-4dbd-8fe7-c66dcaa5847f
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: LswCVLg8z4Zk1u6pV1Dpj1qUj5YY2CQ7_ojx7bJQ8qk
name: wide
label: 'Wide (1090)'
effects:
09959c15-59ce-4f6d-90df-e2d7cf32bce5:
uuid: 09959c15-59ce-4f6d-90df-e2d7cf32bce5
id: image_scale
weight: 1
data:
width: 1090
height: null
upscale: false
uuid: 0da13d98-b462-48ae-8171-f38fd87784f9
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 6Qope5wG7HUpV0tPOBMtDI_GZkHFcF1Xj4hgD9Cu_hM
id: image
label: Image
description: 'Use local images for reusable media.'
source: image
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_image
field_map:
name: name
_core:
default_config_hash: eNXaHfkJJUThHeF0nvkoXyPLRrKYGxgHRjORvT4F5rQ
jpeg_quality: 75
_core:
default_config_hash: durWHaKeBaq4d9Wpi4RqwADj1OufDepcnJuhVLmKN24
toolkit: gd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment