Extended error handling for user profile image