Imagecache Token

Categories

Component ID

1434696

Component name

Imagecache Token

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

111454

Component created

Component changed

Component body

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 available tokens list. If this is a case, you will need to reset cache at Performance page.

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.