photo uploading improvement