Allow only images to be uploaded in the upload modal

Fixes #1221

- This changes the accepted encodings on the files upload input field to
  be only "image/*" now
-