Hi there,
my task:
images are renamed and stored in a certain user-directory -> is working very well, except the first look after node creation..
-> filename: uid_username_filename.ext
-> directory: uploads/group-$gid/
-> imagecache is used
I have an inline-nodeform and a view that shows the nodes the user creates with the inline form. The view is refreshed by "ctools_ajax_command_replace".
After a new node was created, the view refreshed, but the images of the new node are not shown. This dom-tree shows the default image-name and the default directory name. After a page reload everything looks fine and the name and path looks like it should..
Any hints for me to solve this - a delay in refreshing? partial refresh of the images in node?
Comments
Comment #1
quicksketchYou can't upload files into a node's group with FileField by itself, because it doesn't know what GID a node is in until after the node has been created. All that file path wrangling is handled by FileField Paths module, which it sounds like you have installed.
Comment #2
Deciphered CreditAttribution: Deciphered commentedNo longer supporting Drupal 6 issues for this module.