pass photos back from getPhotos call