getPhotos with offset