Added validation for corrupted/non-image uploads