show error msg when photo is too small