This module provides additional tokens for image fields. For each image style available, a token [node:field_image_field:style_name] will be provided. It is also possible to get image properties like width or height by using tokens like [node:field_image_field:style_name:height].

Configuration

No module configuration needed.

Gotchas

I've observed that after you create new image style it might not appear immediately in the available tokens list. If this is a case, you will need to reset cache at Performance page.

Depending upon the site's structure it might not be possible to see all of the available tokens via the token browser. For this reason we recommend using Fast Token Browser to improve the token browser.

Drupal 8 port

Thanks to work from Berdir, Bambell, silkogelman and others, the functionality has been merged into the Token module itself, so a separate module will not be needed for D8.

Credits

Damien McKenna has joined as a co-maintainer and will soon be working on a stable release. The module was initially created by Pavel A. Karoukin and includes many comments and patches from Drupal community.

Supporting organizations: 
Current sponsor

Project information

Releases