Map multiple images to single existing node
druplicate - August 3, 2009 - 00:08
| Project: | Imagefield Import |
| Version: | 6.x-1.4-beta1 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
This thread over at the migrate module discusses importing images into existing nodes:
I need a way to import and map images programmatically to existing nodes. In my case I have a DB table that relates the image names to NID. Alternatively I could just label the images [nid]_1.png, [nid]_2.png, etc.
The goal is to mass import images to existing nodes with imagefield, with several images per node perhaps.
It would be great if this capability were part of the migrate module which already handles similar kinds of mapping tables.

#1
Note that the migrate module does NOT currently import data into existing nodes. It is an outstanding feature request and to-do item prior to official release - this module is still in beta.
If you are migrating many data fields from another system, or collection of CSV files, then you could use the migrate module to create the new nodes and insert the related images at the same time, if it had the hooks for it. Seems like the migrate module could use the code from this project to do it.
Here's the feature request: http://drupal.org/node/429306
#2
Marking this as a duplicate of #363076: Import MANY Images into ONE Imagefield