Content Construction Kit (CCK) 6.x-3.x-dev
ImageField 6.x-3.7
Public Files directory
ImageField configured (max res=283x283,throbber,path-settings=[title-raw],everything else default)
Expect upload to /files/Woodcrest Christian High School/[title-raw]

actually get upload to /files/Woodcrest Christian High School/files/Woodcrest Christian High School/[title-raw]

Steps to reproduce: I change my drupal core file system from sites/hs.wcsroyals.org/files to files/Woodcrest Christian High School

Comments

modulo49’s picture

Correction: it does get uploaded to the correct location, but it tries to view it at the wrong location.

modulo49’s picture

Status: Active » Closed (fixed)

okay, so I figured out the glitch. Don't use spaces in any of your File System sub-directories.

Matt G’s picture

Another workaround is to use a symbolic link so the file path "links back around," even if Drupal produces a file path repeat:

From terminal type:
ln -s /var/www/drupal/sites /var/www/drupal/sites/DOMAIN.com/files/sites

Discussed here: http://drupal.org/node/989428#comment-3795074