Download & Extend

Map imported images to existing nodes

Project:Imagefield Import
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:wulff
Status:closed (won't fix)

Issue Summary

This thread over at the migrate module discusses importing images into existing nodes:

http://drupal.org/node/528726

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.

Comments

#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

Status:active» closed (duplicate)

Marking this as a duplicate of #363076: Import MANY Images into ONE Imagefield

#3

Title:Map multiple images to single existing node» Map imported images existing nodes
Status:closed (duplicate)» active

Reopening as mentioned in #363076: Import MANY Images into ONE Imagefield

#4

Title:Map imported images existing nodes» Map imported images to existing nodes

...and fixing the title.

#5

From #363076: Import MANY Images into ONE Imagefield:

[add] support for existing nodes that have already imagefield images uploaded with a nid field to add those nodes, validating if selected imagefield is there, if not prompting for a new nid with appropriate imagefield.

#6

Version:6.x-1.4-beta1» 6.x-1.x-dev
Assigned to:Anonymous» wulff

#7

Priority:normal» minor

#8

This would be a cool feature for imagefield_import. Subscribing.

#9

Status:active» closed (won't fix)

At this time, It's outside my scope as a feature to add.