Immagini su Rapp_new
This commit is contained in:
parent
96459537d5
commit
bc4b6e47be
@ -1,6 +1,7 @@
|
|||||||
using Microsoft.VisualBasic;
|
using Microsoft.VisualBasic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Text;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
|
|
||||||
namespace VirtualTask.Models
|
namespace VirtualTask.Models
|
||||||
@ -198,5 +199,18 @@ namespace VirtualTask.Models
|
|||||||
|
|
||||||
[Display(Name = "FOTO 10")]
|
[Display(Name = "FOTO 10")]
|
||||||
public string? rafoto10 { get; set; }
|
public string? rafoto10 { get; set; }
|
||||||
|
|
||||||
|
public byte[]? img2 { get; set; }
|
||||||
|
|
||||||
|
//public byte[]? img2byte
|
||||||
|
//{
|
||||||
|
// get
|
||||||
|
// {
|
||||||
|
// if (img2 != null)
|
||||||
|
// return Encoding.ASCII.GetBytes(img2);
|
||||||
|
// else return null;
|
||||||
|
// }
|
||||||
|
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="row">
|
<div class="row" style="float:left; width:50%;">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<b>@Html.DisplayNameFor(model => model.seriale_rapportino)</b> @Html.DisplayFor(model => model.seriale_rapportino)
|
<b>@Html.DisplayNameFor(model => model.seriale_rapportino)</b> @Html.DisplayFor(model => model.seriale_rapportino)
|
||||||
</div>
|
</div>
|
||||||
@ -247,10 +247,30 @@
|
|||||||
@* <input type="submit" value="Torna alla lista" class="agy-btn submitForm" /> *@
|
@* <input type="submit" value="Torna alla lista" class="agy-btn submitForm" /> *@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="float:left;width:49%;">
|
||||||
|
@{
|
||||||
|
var imgSrc="";
|
||||||
|
|
||||||
|
if (Model.img2!=null)
|
||||||
|
{
|
||||||
|
|
||||||
|
//byte[] appo = Model.img2;
|
||||||
|
var base64 = Convert.ToBase64String(Model.img2);
|
||||||
|
imgSrc = String.Format("data:image/gif;base64,{0}", base64);
|
||||||
|
<img src="@imgSrc" height="1085" width="824"/>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<img src="~/assets/images/No_image.png" height="512" width="512" />
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,8 @@
|
|||||||
"ApplicationInsights": {
|
"ApplicationInsights": {
|
||||||
//PRODUZIONE
|
//PRODUZIONE
|
||||||
//"rootUrlApi": "https://api.poloinformatico.it:9000/api/Polo/",
|
//"rootUrlApi": "https://api.poloinformatico.it:9000/api/Polo/",
|
||||||
//"rootWebLoghi": "C:\\SORGENTI\\_publish\\wwwroot\\VIRTU\\",
|
//"rootWebLoghi": "C:\\ZAPIPOLO\\api_polo\\wwwroot\\VIRTU\\",
|
||||||
|
//"rootUrlApi2": "https://api.poloinformatico.it:9000/VIRTU/",
|
||||||
|
|
||||||
//TEST
|
//TEST
|
||||||
"rootUrlApi": "http://testapi.poloinformatico.it:9001/api/Polo/",
|
"rootUrlApi": "http://testapi.poloinformatico.it:9001/api/Polo/",
|
||||||
|
|||||||
BIN
wwwroot/assets/images/No_image.png
Normal file
BIN
wwwroot/assets/images/No_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Loading…
Reference in New Issue
Block a user