Add use gravatar #751

Closed
opened 2026-02-04 21:12:39 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @kstan79 on GitHub (Jul 7, 2025).

Is this a feature for the backend or frontend?

Frontend

What would you like?

it maybe good to have option for user to check 'use gravatar' instead of manually upload image.

Why is this needed?

No response

Other information

No response

Originally created by @kstan79 on GitHub (Jul 7, 2025). ### Is this a feature for the backend or frontend? Frontend ### What would you like? it maybe good to have option for user to check 'use gravatar' instead of manually upload image. ### Why is this needed? _No response_ ### Other information _No response_
OVERLORD added the enhancement label 2026-02-04 21:12:39 +03:00
Author
Owner

@maryojo commented on GitHub (Aug 12, 2025):

Hi @meltyshev, i'll like to work on this, can you assign this to me?

@maryojo commented on GitHub (Aug 12, 2025): Hi @meltyshev, i'll like to work on this, can you assign this to me?
Author
Owner

@meltyshev commented on GitHub (Aug 12, 2025):

Hi @meltyshev, i'll like to work on this, can you assign this to me?

Hi! Sure :)

But please keep in mind that we can't use URLs to Gravatar directly, as it violates GDPR. Instead, we'll need to download the avatar and store it locally (probably when the user is being created). Also, this should be enabled via an environment variable like USE_GRAVATAR, which should be set to false by default.

@meltyshev commented on GitHub (Aug 12, 2025): > Hi [@meltyshev](https://github.com/meltyshev), i'll like to work on this, can you assign this to me? Hi! Sure :) But please keep in mind that we can't use URLs to Gravatar directly, as it violates GDPR. Instead, we'll need to download the avatar and store it locally (probably when the user is being created). Also, this should be enabled via an environment variable like `USE_GRAVATAR`, which should be set to `false` by default.
Author
Owner

@maryojo commented on GitHub (Aug 12, 2025):

Alright, i'll do this, thanks!

@maryojo commented on GitHub (Aug 12, 2025): Alright, i'll do this, thanks!
Author
Owner

@maryojo commented on GitHub (Aug 22, 2025):

Hi @meltyshev, in the codebase I can see that the profile image can only be edited on the settings modal, I just want to confirm if this is also a part of the account setup and I missed it

@maryojo commented on GitHub (Aug 22, 2025): Hi @meltyshev, in the codebase I can see that the profile image can only be edited on the settings modal, I just want to confirm if this is also a part of the account setup and I missed it
Author
Owner

@meltyshev commented on GitHub (Aug 24, 2025):

Hi @meltyshev, in the codebase I can see that the profile image can only be edited on the settings modal, I just want to confirm if this is also a part of the account setup and I missed it

Hey! Sorry for the delayed reply. Yep, it can only be edited in the settings modal for the current user :)

@meltyshev commented on GitHub (Aug 24, 2025): > Hi @meltyshev, in the codebase I can see that the profile image can only be edited on the settings modal, I just want to confirm if this is also a part of the account setup and I missed it Hey! Sorry for the delayed reply. Yep, it can only be edited in the settings modal for the current user :)
Author
Owner

@maryojo commented on GitHub (Aug 24, 2025):

Alright, thanks!

@maryojo commented on GitHub (Aug 24, 2025): Alright, thanks!
Author
Owner

@maryojo commented on GitHub (Aug 27, 2025):

Hi @meltyshev, for me to work with setting or updating the environment variable, it would have to be done from the server side. I'm more skilled with the Frontend, so I used local storage to store the gravatar, it works but without updating the env variable. Also, the way I have it now, it replaces the stored user avatar, so it shows everywhere the avatar is used, does that work?

@maryojo commented on GitHub (Aug 27, 2025): Hi @meltyshev, for me to work with setting or updating the environment variable, it would have to be done from the server side. I'm more skilled with the Frontend, so I used local storage to store the gravatar, it works but without updating the env variable. Also, the way I have it now, it replaces the stored user avatar, so it shows everywhere the avatar is used, does that work?
Author
Owner

@meltyshev commented on GitHub (Aug 27, 2025):

Hi @meltyshev, for me to work with setting or updating the environment variable, it would have to be done from the server side. I'm more skilled with the Frontend, so I used local storage to store the gravatar, it works but without updating the env variable. Also, the way I have it now, it replaces the stored user avatar, so it shows everywhere the avatar is used, does that work?

Hey! Sure, I can add an environment variable myself :) Regarding the localStorage approach and replacing the current avatar - I think it would be better to download the avatar from Gravatar and store it as a normal image, but that requires some backend changes. Don't worry, I'll test everything to see how it works and make modifications if needed.

Please note that it might take some time to review and accept the PR since I'm fully focused on finishing and releasing the final v2 version, but I will definitely check everything afterwards.

@meltyshev commented on GitHub (Aug 27, 2025): > Hi [@meltyshev](https://github.com/meltyshev), for me to work with setting or updating the environment variable, it would have to be done from the server side. I'm more skilled with the Frontend, so I used local storage to store the gravatar, it works but without updating the env variable. Also, the way I have it now, it replaces the stored user avatar, so it shows everywhere the avatar is used, does that work? Hey! Sure, I can add an environment variable myself :) Regarding the localStorage approach and replacing the current avatar - I think it would be better to download the avatar from Gravatar and store it as a normal image, but that requires some backend changes. Don't worry, I'll test everything to see how it works and make modifications if needed. Please note that it might take some time to review and accept the PR since I'm fully focused on finishing and releasing the final v2 version, but I will definitely check everything afterwards.
Author
Owner

@maryojo commented on GitHub (Sep 1, 2025):

Okay, thank you! I opened a PR for this here https://github.com/plankanban/planka/pull/1319

@maryojo commented on GitHub (Sep 1, 2025): Okay, thank you! I opened a PR for this here https://github.com/plankanban/planka/pull/1319
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#751