1

I'm using the modules Migrate and Drupal to Drupal Migration modules to migrate some Drupal 7 content to another Drupal 7 site.

It works very well for users and their pictures; the nodes are migrated too with all the fields but the image field.

What data should I use for [field_product_image:destination_dir], [field_product_image:destination_file], and [field_product_image:source_dir]?

The image field is field_product_image. I have exported/imported the content types to the new Drupal 7 installation. The images are stored in default/files/image/galerien.

7
  • Did you migrated the files first? Apr 8, 2015 at 8:13
  • no i just went through the wizard (m_d2d UI) and there i choosed all content what i want to migrate. It said"migrate files other than userpics" and i checked this option. At the end it migrates all data together.
    – lolhonk
    Apr 8, 2015 at 8:20
  • Try reverting it again and migrate step by step. First files then roles, users, nodes in sequences. Apr 8, 2015 at 8:22
  • Sadly i have the same problems. I migrate all files first and then migrate the nodes but still same problem: image-field is missing. For the userimages it works well but not for the images of the nodes
    – lolhonk
    Apr 8, 2015 at 8:34
  • Oh yeah. Can I see your mapping of image field? I know what can be the issue. Apr 8, 2015 at 8:37

1 Answer 1

0

Thanks very much Sumit Madan,

he gives me the solution:

Mapping:

for the file class of the image field enter this as "standard value": MigrateFileFid

set "TRUE" for preserve_files of your image-field.

thanks again!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.