images in joomla search results

Good evening, i need your help again. I’m trying to display images in search results for the default search of joomla. I messed up with codes from web and i managed to display images with the following: in template/html/com_search/com_search/search/default_results.php, in line 9 i added $db = JFactory::getDbo(); $article = JTable::getInstance(‘Content’, ‘JTable’); and above <dd class=”result-text”>…