being able to insert files into image fields would be a huge bonus! i assume that the imagefield cck module handles images the same as files for filefield, so maybe two birds could be killed with one stone :)

thanks

Comments

George2’s picture

off the top of my head, need to insert file into db, store the fid, then put the fid into the field_content_image cck table, then also update node_revisions i think.

i didn't really get it working, but from studying the db, these are the changes i notcied happened.

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Status: Active » Closed (won't fix)

For having this to work the image files need to be laying around somewhere. The way i see it right now is that one need to upload the image somehow to attach it to the node added.

For a batch usage of node_factory best thing to copy/ftp the files into drupal_root/files directory. But I do agree the cck image field needs a valid value after all.

So feel free to reopen the issue if you have any suggestion for uploading the image somehow.

Regards, Clemens