I've set my Drupal files directory to "sites/default/files".
The pattern for my "Product" node type is "[type-name]/[title]"
I thought this would put files into "sites/default/files/product/
"
Instead, they are going to "sites/default/files/imagecache/product_full"

Comments

CasaDelGato’s picture

I just figured out that it is ALSO putting the file in "sites/default/files".
(Missed it in the mess that is already there that I'm trying to fix.)
So, the upload path just isn't working at all.

CasaDelGato’s picture

Interesting. Upload Path does NOT work for Images for an Ubercart product. It DOES work for File Attachments to an Ubercart Product.
Shouldn't it be working for the Images as well? (It's an image that isn't using the expected Upload Path path.)

davidwhthomas’s picture

uploadpath is designed to work with the core upload module, not imagefield. Also, Imagecache will create it's own directories to put image derivatives in.

CasaDelGato’s picture

Is there any way to get it to work with ImageField?
The UberCart images are the ones that most fill my files directory.

davidwhthomas’s picture

Status: Active » Closed (fixed)

imagefield has it's own support for path tokens in the field settings, just use that, or for more node tokens perhaps http://drupal.org/project/filefield_paths