more descriptive errors for photo uploading.