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

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

Version:7.x-1.x-dev» 7.x-1.0-beta3

Thanks, MJH! I thought it was just filefield_paths not working, but once I saw your post, I disabled filefield_sources, and suddenly filefield_paths started to work. Drupal 7.14, with File (Field) Paths 7.x-1.0-beta3 and File Field Sources (filefield_sources) 7.x-1.7. I am going to try testing with some different versions. So, I've noticed this too.

Status:Active» Closed (duplicate)