Fixing upload_to photos reference