set up photo retrieval methods