Hi

I would use toekn to give ot the image title the node title (by default), so I try with both [node:title] or [current-page:title] and nothing happen..

Do I miss something ?

Thanks

CommentFileSizeAuthor
#3 token-imagefield-d8.jpg110.12 KBaiphes

Comments

aiphes created an issue. See original summary.

rahul.shinde’s picture

Status: Active » Postponed (maintainer needs more info)

@aiphes, please add more information as the use case is a little confusing.

aiphes’s picture

StatusFileSize
new110.12 KB

I want to use it to an imagefield as alt text and title.See screenshot please.

espurnes’s picture

aiphes, is any other token working in that field?

espurnes’s picture

It seems image title do not supports tokens, I tried many with the same effect.
It do work on field description or in image File directory input.

I tried also to provide a default value using tokens for a textfield and it doesn't work. It shows the token key (for instance [random:number]).

espurnes’s picture

rahul.shinde

maybe this issue can be helpful: https://www.drupal.org/project/drupal/issues/1070878

aiphes’s picture

I get the same result as in #5. The other issue doesn't fix the problem for this time.

aiphes’s picture

no any news about this issue ?

espurnes’s picture

Maybe this module can handle the missing image token functionality. I didn't check it. I will try it next week.

https://www.drupal.org/project/imagefield_tokens

aiphes’s picture

I'll see about this.

ysamoylenko’s picture

Hello @aiphes,

I've responded to you in a related issue:
#3063628: Need info about capabilities of tokens

Please take a look.

rahul.shinde’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

It seems the issue is not related to the Token module. IMO, we should close this.
The said issue is being implemented/getting fixed here https://www.drupal.org/project/imagefield_tokens/issues/3063628.