Update Umbraco to 7.12.2
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@model dynamic
|
||||
@using Umbraco.Web.Templates
|
||||
|
||||
@if (Model.value != null)
|
||||
{
|
||||
@@ -12,8 +13,10 @@
|
||||
url += "&mode=crop";
|
||||
}
|
||||
}
|
||||
|
||||
var altText = Model.value.altText ?? Model.value.caption ?? string.Empty;
|
||||
|
||||
<img src="@url" alt="@Model.value.altText">
|
||||
<img src="@url" alt="@altText">
|
||||
|
||||
if (Model.value.caption != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user