When creating a new node with a flickr_imagefield Flickr tagging does not work. The module uses the $form['#node'] object in the node creation form as the parameter to the tagging functions. But for new nodes this object is just a mostly empty stub object. Instead the tagging functions should probably use $form_state['values'] as a parameter from the submit callback or should be called from a nodeapi insert/update implementation. The latter option would enable the "nid" tag on new nodes.

I believe this issue also means that on existing nodes, the tags won't reflect any field updates made simultaneous to the image upload. Instead, the tags would reflect the field values prior to the node edit form submission (this is just a suspicion, I haven't tested).

Anyway here's a patch that just passes form_state['values'] from the submit callback.

CommentFileSizeAuthor
new-nodes-tagging.patch2.1 KBkrlucas