function imageToBase64(file) {
return new Promise(resolve => {
const reader = new FileReader();
reader.onloadend = () => {
const base64str = reader.result.toString();
resolve(base64str);
};
reader.readAsDataURL(file);
});
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)