This is now at least as much as in geal's contrib package
Attach a file by drag & drop or click to upload