control filetype/added message pages/entity image upload