trying to get the photo uploader working