Created the validation of Image Uploading