Adding thumbnails for search results.