Import Images/Files From external source not work

Created on 23 April 2019, over 5 years ago
Updated 4 May 2024, 8 months ago
id: custom_article_migration_with_external_images23
label: 'Custom article migration with external image files23'
source:
  plugin: embedded_data
  data_rows:
    -
      id: 1
      title: 'Page 1 title external'
      file: 'http://www.drupal.org/files/druplicon-small.png'
      file_title: 'Druplicon logo external'
    -
      id: 2
      title: 'Page 2 title external'
      file: 'http://www.drupal.org/files/drupal_logo-blue.png'
      file_title: 'Drupal logo external'
  ids:
    id:
      type: integer
  constants:
    file_destination: 'public://images/external/articles/'
process:
  title: title
  field_image:
    plugin: image_import
    source: file
    destination: 'constants/file_destination'
    title: file_title
    alt: file_title


destination:
  plugin: entity:node
  default_bundle: article

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΉπŸ‡³Tunisia Riadh Rahmi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024