add upload image validation