Changed image upload location, added real working validation for image upload.