Answer the question
In order to leave comments, you need to log in
How to add your own avatars to site users through mysql in phpmyadmin?
Hello! I wanted to create a pwa application with a database in addition, but I stalled at the item with avatars. The fact is that the avatars should be edited by me, not by the user. I rummaged through the Internet, but did not really find the answer. I also read somewhere that a photo can be encoded and the encoded values can be stored directly in the database, and in the pwa application these values will look like a photo. In general, the point is that I could add my own photo to each user.
Answer the question
In order to leave comments, you need to log in
To turn an image into a code, you can use online services. For example, here: https://www.base64-image.de/
Then this code can be put into the base
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question