How to use content type tokens File path in file and image field? I want to have one field for header images, but sort them by type of content. Sadly, when I try to do that, I get:


  The File directory is using the following invalid tokens: [content-type:machine-name].


there is no "avaliable tokens" link under File path box, but when I click generic one, I get:


Current date - Tokens related to the current date and time.
Current page - Tokens related to the current page request.
Current user - Tokens related to the currently logged in user.
Random - Tokens related to random data.
Site information - Tokens for site-wide settings and other global information.
Variables - Tokens for variable values.


Now, I can add Node to the list with File (Field) Paths, but that's overkill. I want more basic thing - content type or more generic bundle tokens. And they are not provided. Is there something I'm missing?
One way to do it, is to use File (Field) Paths, as node provides content type "subtokens" like:

[node:content-type:machine-name]


Problem with any other implementation will be caused by the fact that fields can be attached to things that does not have content types.

This answer is limited to nodes, so it's only a partial one, but it will do the trick in many cases.