from html page user uploads a image, i want to convert it to base64 encoded string,
i am not using any forms, using just <input type="file" name="galleryImage" class="filestyle" data-buttonText="Select a Image">
Asked
Active
Viewed 1,314 times
1 Answers
1
I don't quite get why not using forms in Django, but for a static HTML you can try JS: Image convert to Base64

Community
- 1
- 1

Jakub Dering
- 76
- 5