force the browse dialog to only accept images

on image upload
Merge pull request #774 from ZogStriP/patch-1

force the browse dialog to only accept images...