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.

Comments

quicksketch’s picture

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.

mojzis’s picture

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 !

mojzis’s picture

leanazulyoro’s picture

Version: 6.x-3.1 » 6.x-3.2

I'm running drupal under xampp and have the same problem, if I set the path to "images" the imagefield module should create the "images" directory inside "files"... but it doesn't.the image gets uploaded in the files directory. If I manually create the images directory them it places the images inside it.

quicksketch’s picture

Category: bug » support

I haven't been able to reproduce this problem, perhaps it's a server configuration problem? If you have FileField Paths installed, please disable it and see if that corrects things.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity.