Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Picture.cshtml

@model int
@inject IPictureService pictureService
@inject MediaSettings mediaSettings

@using Nop.Core.Domain.Media
@using Nop.Services.Media

@{
    //other variables
    var random = CommonHelper.GenerateRandomInteger();
    var clientId = "picture" + random;
    var picture = await pictureService.GetPictureByIdAsync(Model);

    const int pictureSize = 100;
}

@* register CSS and JS *@



@*fine uploader container*@
@if (picture != null) { @T("Admin.Picture.RemovePicture") } else { }
@*fine uploader template (keep it synchronized to \Content\fineuploader\templates\default.html)*@