0
Declined

Gravatar in email templates

Kristóf Mihály 3 years ago in New features • updated by Vladimir Mullagaliyev (co-founder) 3 years ago 1

Now that email templates are editable, I'd like to add the user's profile picture to the HTML template trhough gravatar. But to do that, I need the email hash, which is not yet available. Can you put it in a template context variable?

Answer

Answer
Declined

Hello,

You have a parameter "avatar_url" which has URL for a user avatar. It is a regular avatar (if uploaded), gravatar or default avatar, depends on situation.

You do not have to take a gravatar directly.

Answer
Declined

Hello,

You have a parameter "avatar_url" which has URL for a user avatar. It is a regular avatar (if uploaded), gravatar or default avatar, depends on situation.

You do not have to take a gravatar directly.