See https://gist.github.com/antirez/3591c5096bc79cad8b5a992e08304f48
Attach a file by drag & drop or click to upload