req.sendAsBinary is not a function
Upload image file with the file dialog or by dragging and dropping images onto the dashed region