Fixed: issues of auto uploading photos.