Ecole-Directe-Plus
Ecole-Directe-Plus copied to clipboard
Access the profile photo without using the proxy
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,...">
I think I am able to do this
But what is the difference with just putting URL ? Would it allow us to use edpu extension ?
It will make a request using the EDPU extension, so no need of the proxy.