Refix getPhotos