2
nope, $item.image_path is not set.
You can keep the template like that but you need to add extra lines in publisher/backend.php:
if (is_array($sarray)) {
$count = $sarray;
foreach ($sarray as $item) {
$image = $item->getMainImage(); //get main image array for this item
$tpl->append('items',
array(
'image_path' => $image['image_path'], //adds image_path
'title' => htmlspecialchars($item->title(), ENT_QUOTES),
'link' => $item->getItemUrl(),
'guid' => $item->getItemUrl(),
'pubdate' => formatTimestamp($item->getVar('datesub'), 'rss'),
'description' => htmlspecialchars($item->getBlockSummary(300, true), ENT_QUOTES)));
}
}
No tested