Hi There, I'm a bit stuck on this issue.

I've created a node type with an Imagefield CCK field with FUpload.
For 'Default Title text' and 'Default Alt text' I have put in a string (THIS IS AN IMAGE).

I am creating one node per image and I have set node title and description to be editable fields.

When I create a bunch of nodes using FUpload, they are created ok except that the alt and title attributes for the image are not set.

I can solve the problem, if I edit and save the node again using the UI.

I have looked through the code and in function fupload_list_images_imagefield_submit (in image_fupload_imagefield_widget.inc) nodes are saved using node_save .. but the code that would sort out the default alt and title text is in function imagefield_widget_process (in imagefield_widget.inc).

So there is seems to be some code missing somewhere, but I haven't got my head around cck widgets yet. Any ideas?

--Rob

Comments

宁皓网_王皓’s picture

same problem!

mibfire’s picture

+1

vasrush’s picture

Same problem here.
Default settings are ignored.