Base64 encode JPEG using JavaScript/jQuery and AJAX. Demo functions in script.js include displaying with and without a canvas element.
Project
index.html
README.md
script.js
style.css

backing Plunker

index.html
Preview