On a drupal 7 system, I am using the modules "File (Field) Paths" and "FileField Sources".

For a node-type "event", I have set the image upload path to "event_images/[node:nid]".

If "FileField Sources" is deactivated, all uploaded images are correctly stored in the path event_images/-nid-. For example /event_images/25847/sampleimage.jpg.

If I activate "FileField Sources", all uploaded images (through filefield sources) are stored in /event_images. (The nid folder is not used).

Is this a problem with my settings or a general problem with "File (Field) Paths" and "FileField Sources"?

Comments

Phoenix2020’s picture

I have the same problem:
FileField Sources does not respect the paths that were entered through File (Field) Paths.
All tokens - like the date, uid or nid - are cut off by FileField Sources:

Correct Path: .../files/images_a/[current-user:uid]
Used Path: .../files/images_a/

Josh-7785’s picture

The problem is another one:

* FileField Sources does not use the path from File (Field) Paths
* Instead it uses the path that was chosen for the regular drupal image upload field. And that setting is hidden once File (Field) Paths is used

skt’s picture

I had this issue (described in full here). Appears to be filed as a bug report in File (Field) Paths: https://drupal.org/node/2009626

el1_1el’s picture

This issue popped up for me after upgrading from File (Field) Paths 7.x-1.0-beta3+4-dev to beta4. I use a remote file in file attach and save the file to a directory named after the og group node title (hence the paths mod). I did not have the issue with paths beta3+4-dev and File Field Sources 7.x-1.8 or 7.x-1.7....so for me at least the issue lies with Paths. Hope that's helpful

Deciphered’s picture

Issue summary: View changes
Status: Active » Fixed

Can confirm this issue no longer exists.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.