     }
 
     private func configure(_ cell: InsertMediaSearchResultCollectionViewCell, at indexPath: IndexPath) {
-        let result = results[indexPath.item]
-        cell.configure(imageURL: result.thumbnailURL, imageViewDimension: itemDimension, title: result.displayTitle)
+        let result = searchResults[indexPath.item]
+        let imageInfo = imageInfoResults[safeIndex: indexPath.item]
+        cell.configure(imageURL: result.thumbnailURL, imageViewDimension: itemDimension, title: imageInfo?.imageDescription)
     }
 
     // MARK: Themeable

    }

    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        return results.count
    }

    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {

extension InsertMediaSearchResultsCollectionViewController: UISearchBarDelegate {
    
}

private extension Array {
    subscript(safeIndex index: Int) -> Element? {
        guard index >= 0, index < endIndex else {
            return nil
        }
        return self[index]
    }
}
