Display Images in Results

semanthis - November 9, 2009 - 09:55
Project:Apache Solr Search Integration
Version:6.x-2.x-dev
Component:Images
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:imagessearch, theme search results
Description

I just started to explore the great opportunities of solr. I'm looking for a way to provide a imagesearch, just like here:
http://www.mattel.com/search/apachesolr_search/ken
I'm already working with the views-integrations-module, but there seems no out-of-the-box way to theme the images that way. I found the ApacheSolr Image integration module but it seems to be under development and is not working at the moment. I even don't know if it is what I'm searching for. I'm afraid I might just have missed the easy solution, if not it might be great if someone could help me to find the difficult solution. Thank You in advance,

#1

Jason Ruyle - November 16, 2009 - 16:27

Maybe checkout the node display module, which integrates with apachesolr.

I was able to get images to load in our search results by doing something like:

function theme_preprocess_search_result(&$variables) {}

and then in that function:

$node = node_load($result['node']->nid);

 
 

Drupal is a registered trademark of Dries Buytaert.