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
-
Merge pull request #1222 from mduvall/encoding-image-upload

r# the commit.