Validating the picture's size and type is ready