Download & Extend

Imagefield does not honor set upload paths

Project:ImageField
Version:6.x-3.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#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

#4

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.

#5

Category:bug report» support request

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.

#6

Status:active» closed (fixed)

Closing after lack of activity.