Image Attach Migration

Concept

There was a module in Drupal 6 Image Attach that are deprecated in Drupal 7. The Image Attach Migrate module resolved the issue of migration image attach nodes from Drupal 6 to Drupal 7. In Drupal 6, to add pictures to posts was using a combination of the image module with the image attach module. Now in Drupal 7 Imagecache and ImageField is incorporated into Drupal 7 core and renamed 'Image'.

This module would migrate all image_attach module nodes to new image field in Drupal 7. Any image nodes that participate in image_attach will be properly attached with new image field.

Note

This module is developed to migrate images that are associated through image_attach module in Drupal 6 site.

Perquisites

  • To ensure image_attach module was enabled in D6 site and your site is using that.
  • BACK UP YOUR FILES AND DATABASE.
  • Assuming Migration D6 Content Construction Kit (CCK) to D7 Fields is already done. See: Migrating D6 Content Construction Kit (CCK) to D7 Fields
  • Image node data is already converted to Image fields using Field convert module.
  • Now visit to admin/config/media/image-node-attach and select the content types where image attach images will be migrated.

Installation

Copy this module to your module directory and then enable on the admin
modules page. Enable the modules and start work on
admin/config/media/image-node-attach page.

Usage

- Backup your Drupal database.
- Go to admin/config/media/image-node-attach.
- Select the content type(s) to which all your images will be migrated.
- Run this migration script by clicking on submit button.

Result

After running script, you will found there is entity reference field (field_image_node_attach) created in every content type selected from configuration page and all relevant image would be migrated there. There would be a custom formatter (Entity Reference Image Formatter) available on 'Manage Display' page for this field in every selected content type.

Module Support

As this module is focused on migration, I will give full support to this module. I would also suggest if anyone face any issue, either post issue in issues queue of this project or post direct patch.

I would take any issue request on high priority and get fixed soon.

Developer

The development of this module has been done by Pushpinder Rana.

Project information

Releases