Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access the profile photo without using the proxy #34

Closed
OeildeLynx31 opened this issue Jul 31, 2024 · 3 comments
Closed

Access the profile photo without using the proxy #34

OeildeLynx31 opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
enhancement Feature that aims to improve the experience priority:2 Low priority level type:logic Affects the back of the project (logic part) type:security Aims to improve privacy and security

Comments

@OeildeLynx31
Copy link
Collaborator

OeildeLynx31 commented Jul 31, 2024

We should make a request to get the image data instead of just using it from it URL.
How to process =>

  • fetch [photoURL] to have the image as dataURI
  • replace the photoURL by the dataURI URL.
    => It will do a thing like <img src="data:image/jpg;base64,...">
@OeildeLynx31 OeildeLynx31 self-assigned this Jul 31, 2024
@OeildeLynx31
Copy link
Collaborator Author

I think I am able to do this

@Truiteseche Truiteseche added enhancement Feature that aims to improve the experience type:logic Affects the back of the project (logic part) labels Jul 31, 2024
@saumon-brule
Copy link
Member

But what is the difference with just putting URL ?
Would it allow us to use edpu extension ?

@OeildeLynx31
Copy link
Collaborator Author

It will make a request using the EDPU extension, so no need of the proxy.

@Truiteseche Truiteseche added priority:2 Low priority level type:security Aims to improve privacy and security labels Oct 14, 2024
@OeildeLynx31 OeildeLynx31 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature that aims to improve the experience priority:2 Low priority level type:logic Affects the back of the project (logic part) type:security Aims to improve privacy and security
Projects
None yet
Development

No branches or pull requests

3 participants