Version mentioned in this example is very old and was causing issues
Attach a file by drag & drop or click to upload