0

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">

mymail
  • 131
  • 2
  • 12

1 Answers1

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