Problem/Motivation
The module supports the tokens url, uri, width, height, filesize and mimetype for the image_with_image_style type, but no `alt` token for the alternative text of the image.
API changes
Implement the alt token for image_with_image_style.
Issue fork token-3587238
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mvonfrie commentedI've added the implementation. Can someone please add some tests for the
alttoken?Comment #4
berdirI don't see why that is necessary. an image style doesn't have an alt text, only the image field does. Do [node:image_field:alt], not [node:image_field:style:alt]