Closed (duplicate)
Project:
ImageField
Version:
6.x-3.0-alpha2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2008 at 14:47 UTC
Updated:
24 Mar 2009 at 23:50 UTC
Hi there!
I'm trying to import images form an external source into drupal. I have one imagefield per node-type and I would like to import 1 or more image into this image field.
For the bulik import of the nodes, I was able to write an import script and the generate nodes.
Now I would like to write an import script to import the images via php directly in the database. The images are saved in folders on a per node basis.
Can someone show me with a short code example, how I can import 1 or more images into the imagefield?
That would be very helpful!
Comments
Comment #1
HansBKK commentedhave you looked at Imagefield Import?
Comment #2
brainski commentedI'm using drupal 6 and the latest dev version of the imagefield.
Has anyone an idea how to easily import images into cck imagefield with a short code snippet?
I need alt text and a know the node to which the image belong. The images are already saved on the webservers disc under /files
Comment #3
quicksketchTake a look at #292904: Mass import/upload?