only accept images for image file inputs (bug 1030388)"