Photo uploading now works