I'm trying to display an image on the search api page result. I tried the following way: Displaying Images in Search Results, but I'm getting a "Notice: Undefined index: node...template.php" error. Off course after changing the preprocess function to
theme_preprocess_search_api_page_result. Am I getting this error because the following preprocessor works only for the search module? Is there another way to add an image to the search api result?
I'm using the following modules version:
- Search API 7.x-1.17
- Solr search 7.x-1.10
- Search Api Page 7.x-1.2