Newbie here. From what I've found in the forums, the Image module's handling of paths has been already discussed. However, I still don't understand if it's possible to use replacement fields (or "tokens", not necessarily using the Token module) in the Default Image Path field. My users are uploading inline images into posts (using Image Assist) and I would simply like the images to go into user subfolders. I've tried "/default/files/images/[%user]", "/default/files/images/%user" etc, but all I get is a folder called "%user". I'm sure there's something wrong with my syntax but I don't know what.

I'm using Image 6.x-1.0-alpha5 (the one recommended for 6.x as of today.

Thanks for your help.

Comments

Anonymous’s picture

If I understand your problem stmnt:

Create a filefield in any existing content type (or create new content type if you like) and choose image as form element. Thereon you can configure the path setting. You only need to enter [%user]. Drupal will create the folder when the user login and upload images. Dont forget to allow permission for users to create the content type that you previously configured.

rgds

talino’s picture

Thanks, but why should I add an Image form element if Image Assist already adds images inline? Wouldn't this be confusing to the user?

Anonymous’s picture

On 2nd read, I am clearer. LOL.

Anyways, AFAIK, Image Assists thrives on images that have been uploaded via the Image module.
Over here I tie up FCKEditor with IMCE which offers a browser-like upload GUI with user upload folders.
What I described is defintely not the route you wanted but the effect may be the same.

Perhaps oth posters can help too.