add acceptFileTypes option to image fileupload