When use use getPicture either we get a relative URL or base64image. But I want to send a image object to Amazon S3. Anyway to do that ?
Here is how I am getting the
Similarly you can also load byteStream to the image tag
function(success) { // Assuming you are sending the bytestream from the code var img = document.getElementById('image'); img.src = 'data:image/png;base64,' + success.bytestream; }