diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php
index 0b2182048..c50edc309 100644
--- a/e107_handlers/e_parse_class.php
+++ b/e107_handlers/e_parse_class.php
@@ -2834,7 +2834,7 @@ class e_parser
if($thumb == 'tag')
{
- return "
";
+ return "
";
}
if($thumb == 'src')
diff --git a/e107_plugins/news/news_carousel_menu.php b/e107_plugins/news/news_carousel_menu.php
index b675456a6..774a9dd8d 100644
--- a/e107_plugins/news/news_carousel_menu.php
+++ b/e107_plugins/news/news_carousel_menu.php
@@ -94,7 +94,17 @@ $count = 0;
foreach($data as $row)
{
- $img = $tp->thumbUrl($row['news_thumbnail']);
+ $tmp = explode(",",$row['news_thumbnail']); // fix for multiple
+
+ if($video = $tp->toVideo($tmp[0],array('thumb'=>'tag', 'w'=>800)))
+ {
+ $imgTag = $video;
+ }
+ else
+ {
+ $img = $tp->thumbUrl($tmp[0]);
+ $imgTag = '
';
+ }
$vars = array(
'NEWSTITLE' => $tp->toHtml($row['news_title'],false, 'TITLE'),
@@ -102,15 +112,14 @@ foreach($data as $row)
'NEWSDATE' => $tp->toDate($row['news_datestamp'],'dd MM, yyyy'),
'ACTIVE' => ($count == 0) ? 'active' : '',
'COUNT' => $count,
- 'NEWSIMAGE' => '
'
+ 'NEWSIMAGE' => ''.$imgTag.''
);
$text .= $tp->simpleParse($NEWS_MENU_TEMPLATE['carousel']['item'], $vars);
-
$nav[] = $tp->simpleParse($navTemplate, $vars);
-
+
$count++;
}