Testing some changes to photo uploading.
Fixed photo uploading (I think...).