Migrate the image styles to preserv the images.
Also, it was added the following things in the settings file to allow the inline images: $config['image.settings']['suppress_itok_output'] = TRUE; $config['image.settings']['allow_insecure_derivatives'] = TRUE;
This commit is contained in:
parent
f72f24277a
commit
d82b83eebb
3 changed files with 55 additions and 31 deletions
|
@ -0,0 +1,37 @@
|
|||
uuid: 477a3fef-10c8-43e9-8e89-707878735663
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_image_styles
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Image styles'
|
||||
source:
|
||||
plugin: d7_image_styles
|
||||
process:
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
effects:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: effects
|
||||
process:
|
||||
id: name
|
||||
weight: weight
|
||||
data: data
|
||||
destination:
|
||||
plugin: 'entity:image_style'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
Loading…
Add table
Add a link
Reference in a new issue