Changed photo and client id to start counting at 1