Closed (fixed)
Project:
File (Field) Paths
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2013 at 05:37 UTC
Updated:
21 May 2013 at 04:30 UTC
Hi
I set the file path and file name values below which works fine. however, when page is rendered the image cached file is wrong and the cache files don't exist.
file path:
pub/sponsor/[node:nid]
file name:
[file:original:name].[file:original:extension]
path to image on page
http://test.dev/sites/default/files/styles/large/public/pub/sponsor/102/...
The path "sites/default/files/styles/large/public/pub" doesn't even exist.
Comments
Comment #1
decipheredLooks like the problem is your tokens.
I tested it with what you supplied and it didn't work, so I changed the filename to the following which worked fine: [file:ffp-name-only-original].[file:ffp-extension-original]
Comment #2
psychobyte commentedYes! That did fix it.
Funny thing is when I first tried setting the field with those values(default) it gave me an error that I can't recall now. so I looked for tokens that seemed appropriate. Switching them back seemed to work now.
Thanks.