This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.
Attach a file by drag & drop or click to upload