- πΊπΈUnited States sassafrass
This doesn't work for me either in D10. In D9, I used file_import rather than image_import and that worked.
- π΅πΈPalestine waleedagel
Importing images from external source causes client error: `GET ....`
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
Active
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This doesn't work for me either in D10. In D9, I used file_import rather than image_import and that worked.
Importing images from external source causes client error: `GET ....`