getPhoto amend