Hello.

I want to use value of field with type imagefield_crop in metatags. By default, field of this type, uses formatter "image" for tokens and returns tag "<img src"some url" />. But module metatag calls strip_tags for all values of metatags and value of this field cannot be printed in metatag. I wrote simple patch, which set param 'default_token_formatter' as 'file_url_plain' for field with type "imagefield_crop".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eugene.ilyin’s picture

Please do not forget to specify me as author of commit for this patch.

eugene.ilyin’s picture

Status: Active » Needs review
eugene.ilyin’s picture

New patch without checking for module_exists

eugene.ilyin’s picture

eugene.ilyin’s picture

Issue summary: View changes

1