Attempt to fix photo uploader