All I want is that the system puts user uploaded files into their directory, by uid or name, don't care which.
default/files/1
default/files/2 etc
I'm envisioning a LOT of files.
Only logged in users can create content or comment so don't care about anon.
I'd like it to work with MEDIA Module, but can live without it doing so.
I've tried doing things like setting in config sites/default/files/%uid or [uid] or [user:name] but to no avail.
I tried FileField Path but there doesn't appear to be any config anywhere in D7, and certainly none of the suggestions in the D6 text on the module page seem to apply to D7.
This seems such an obvious thing that I guess I'm missing something obvious, (esp since I did this in D6 with APK, but that module isn't being ported).
Comments
I have the same exact problem...
Hi, I am desperately trying to get the media module to upload user files in their own user directory.
Using the IMCE module: when a user uploads an image it goes straight to the sites/default/files/ directory. I need it to go to the user directory set up in the IMCE profile configuration: / u%uid
If anyone know how to solve this, please let me know.
This is doing my head in !
Cheers
Token
Token is the solution.
At the time of creating image field if you have installed TOKEN you get the option of inserting token in the subdirectory field there insert the unique token related to user and you are done.