Added basic support for getPhotos