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
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

quicksketch - October 20, 2009 - 19:47

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

mojzis - October 22, 2009 - 09:28

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

mojzis - October 22, 2009 - 10:29
 
 

Drupal is a registered trademark of Dries Buytaert.