Imagefield does not honor set upload paths
hepabolu - August 30, 2009 - 18:28
| Project: | ImageField |
| Version: | 6.x-3.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
CCK version 6.x-2.2
Imagefield module configured to use path/to/imgs as upload dir as explained in the help info. When the path is non-existent, the upload fails (which is good). However, after creating the path the uploaded files end up in sites/default/files (as set in the drupal file system config).
This is on my local machine, so no permission issues.

#1
ImageField should create the path automatically for you even if it doesn't exist. I'm not able to reproduce this issue, nor have there been confirming reports in the several months that ImageField has been released.
#2
I had the same headache ... when using imagefield import, the files would allways go to other directories, even /tmp, which made them unusable. After importing one manually, all works, probably due to the fact I have a pattern in my path and the import module doesnt create the folder ?
thanks !
#3
have a look at #354152: Imagefield_import has problems with the filefield_path and token modules