I want make a photo gallery with Drupal. I have a problem with showing article images (that shows in homepage in a div classed "field-image"), I want show this image is search page. After searching for something just title and text shows, how to show images there? Thanks a lot :) look at this shots:
If you're using default core search, you can modify "Search result" display there.
You can override the search-result.tpl.php file and add some logic in your form pre-processing page (template.php), but all of this is quite a bit of work when you could rather just use the Display Suite Module.
- Install the module.
- Enable "Display Suite", "Display Suite Search" and "Display Suite UI".
- Enable "Display Suite Search" on the search settings page: /admin/config/search/settings
- Go to a searched term page: search/content/SEARCH_STRING
- You should now see a lot more info. As a final step, you can edit what is shown here by going to the settings page here: admin/structure/ds/list/search