Closed (fixed)
Project:
Upload path
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 18:18 UTC
Updated:
6 Oct 2009 at 22:58 UTC
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
Comment #1
CasaDelGato commentedI 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.
Comment #2
CasaDelGato commentedInteresting. 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.)
Comment #3
davidwhthomas commenteduploadpath is designed to work with the core upload module, not imagefield. Also, Imagecache will create it's own directories to put image derivatives in.
Comment #4
CasaDelGato commentedIs there any way to get it to work with ImageField?
The UberCart images are the ones that most fill my files directory.
Comment #5
davidwhthomas commentedimagefield 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