diff --git a/Components/EmailTemplateController.vb b/Components/EmailTemplateController.vb
index 86023bf..fd41829 100755
--- a/Components/EmailTemplateController.vb
+++ b/Components/EmailTemplateController.vb
@@ -13,6 +13,7 @@ Imports Dotnetnuke.Entities.Portals
Imports Dotnetnuke.Entities.Users
Imports DotNetNuke.Framework
Imports DotNetNuke.Security.Roles
+Imports DotNetNuke.Services.Exceptions
Namespace Ventrian.NewsArticles
@@ -289,7 +290,8 @@ Namespace Ventrian.NewsArticles
' SendNotification(settings.Email, sendTo, Null.NullString, subject, template)
Try
DotNetNuke.Services.Mail.Mail.SendMail(settings.Email, sendTo, "", subject, template, "", "", "", "", "", "")
- Catch
+ Catch exc As Exception
+ LogException(exc)
End Try
End Sub
diff --git a/Components/Layout/LayoutController.vb b/Components/Layout/LayoutController.vb
index 5466716..26164c1 100755
--- a/Components/Layout/LayoutController.vb
+++ b/Components/Layout/LayoutController.vb
@@ -2809,6 +2809,15 @@ Namespace Ventrian.NewsArticles
objLiteral.EnableViewState = False
objPlaceHolder.Add(objLiteral)
+ Case "image"
+ Dim objLiteral As New Literal
+ If profilePropertyValue = String.Empty Then
+ objLiteral.Text = String.Empty
+ Else
+ objLiteral.Text = UrlUtils.EncryptParameter(UrlUtils.GetParameterValue($"fileid={profilePropertyValue}"), PortalSettings.GUID.ToString())
+ End If
+ objPlaceHolder.Add(objLiteral)
+
Case Else
Dim objLiteral As New Literal
If profilePropertyValue = String.Empty Then
diff --git a/Installs/NewsArticles.00.12.00.zip b/Installs/NewsArticles.00.12.00.zip
new file mode 100644
index 0000000..e770257
Binary files /dev/null and b/Installs/NewsArticles.00.12.00.zip differ
diff --git a/LatestArticlesOptions.ascx b/LatestArticlesOptions.ascx
index 7cc6f65..de26251 100755
--- a/LatestArticlesOptions.ascx
+++ b/LatestArticlesOptions.ascx
@@ -249,21 +249,21 @@