Handle uploads of photos