|
|
|
@ -54,13 +54,13 @@
|
|
|
|
|
|
|
|
|
|
@if (context != null)
|
|
|
|
|
{
|
|
|
|
|
<img src="data:image/png;base64, @(context.ImageBase64)" class="img-thumbnail" title="@context.DisplayName" alt="@context.DisplayName" style="min-width: 50px; max-width: 50px; height: 50px; margin: auto" />
|
|
|
|
|
<img src="data:image/png;base64, @(context.ImageBase64)" class="img-thumbnail imageList" title="@context.DisplayName" alt="@context.DisplayName" />
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
<img src="images/default.png" class="img-thumbnail" title="@context.DisplayName" alt="@context.DisplayName" style="max-width: 50px" />
|
|
|
|
|
<img src="images/default.png" class="img-thumbnail imageList" title="@context.DisplayName" alt="@context.DisplayName"/>
|
|
|
|
|
}
|
|
|
|
|
</DisplayTemplate>
|
|
|
|
|
</DataGridColumn>
|
|
|
|
|