As per title of issue - when setting the default alt and title fields on adding an image field, the title token does not appear in the list of allowed tokens.

Originally reported at http://drupal.org/node/277637#comment-2678596

Comments

quicksketch’s picture

Category: bug » support
Status: Active » Fixed

You mean the node title token? That token is not available because no $node tokens are available for use within ImageField's "title" or "alt" text. This is because the title may not be set (or might be changed) when a file is uploaded. For node-level tokens within ImageField, see http://drupal.org/project/filefield_paths.

juliangb’s picture

Yes - the node title token [title].

Thanks, that module does seem to do the trick.

juliangb’s picture

Note for all, you also need the Imagefield tokens module (http://drupal.org/project/imagefield_tokens) to use the node tokens as a default alt or title tag.

Status: Fixed » Closed (fixed)

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