This patch adds the import_file_base migration entity, which doesn't make many assumptions about how you setup your CSV. The bundled import_file_image migration entity and ImageFile migration source plugin gives an example of a simplified migration/CSV file (one column containing your image filename).

Comments

samuel.mortenson’s picture

StatusFileSize
new2.71 KB

Fixed empty patch

samuel.mortenson’s picture

samuel.mortenson’s picture

StatusFileSize
new138.44 KB

Added cow.jpg

samuel.mortenson’s picture

StatusFileSize
new138.41 KB

The example CSV was using the wrong column header.

saltednut’s picture

Status: Needs review » Fixed

Tested using migrate_plus/migrate_tools provided drush commands.

drush mi import_file_image

Working fine. Thanks.

samuel.mortenson’s picture

StatusFileSize
new138.47 KB

Made sure all migrated images are permanent.

  • brantwynn committed 78072fc on 8.x-1.x
    Issue #2512274: Followup, adding default status for imported files
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.