I'm using
- FileField 6.x-3.0-alpha7
- FileField Tokens 6.x-3.0-alpha7
- FileField Paths 6.x-1.0
- ImageField 6.x-3.0-alpha4
- ImageAPI 6.x-1.4
- ImageCache 6.x-2.0-beta8
- Transliteration 6.x-2.0
What I did
I created an ImageField witht the following settings:
- File path: cover/[type]
- File name: [title].[filefield_paths-ext]
The display of the image uses an ImageCache preset named "cover-preset".
Now, after uploading an image and saving the node, I get this url (got a multi-site):
http://example.com/sites/example.com/files/imagecache/cover-preset/cover/FOOBAR-CONTENTTYPE/FILENAME.jpg
The problem
FOOBAR-CONTENTTYPE is the correct content type of the node with the ImageField (works!).
But FILENAME is not the [title] of the node (works not!). It is the original filename of the uploaded image.
Am I doing something wrong?
Side note
the list/table of "File name replacement patterns" uses [title] for Node reference tokens and [title] for Node tokens, too. May this be the reason for my problem?
Comments
Comment #1
deciphered@no2e,
Tested with the versions and settings you supplied and everything worked fine.
If possible, can you try to narrow down the exact cause of the problem by turning off modules?
Cheers,
Deciphered.
Comment #2
no2e commentedOkay, I'll try.
What about this? (different tokens with the same name)
Comment #3
decipheredWhile it's possible, I did turn on Node References and I did not have any issues occur.
I did submit a fix to 6.x-1.x-dev months back that will should actually handle that particular issue, so maybe try the dev version and see if it solves your problems.
Comment #4
decipheredClosed due to lack of response. Assuming a non-issue.