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

deciphered’s picture

Status: Active » Fixed

Looks 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]

psychobyte’s picture

Yes! 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.