Update x img piccole
This commit is contained in:
@@ -419,7 +419,12 @@
|
||||
<Content Include="images\LogoMapoFull.png" />
|
||||
<Content Include="images\logoTextSteamware.png" />
|
||||
<Content Include="images\logoSteamware.png" />
|
||||
<Content Include="images\macchine\Steamware.png" />
|
||||
<Content Include="images\macchine\small\Steamware.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="images\macchine\Steamware.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="images\ST_img\Steamware.png" />
|
||||
<Content Include="IOB-info.aspx" />
|
||||
<Content Include="jumper.aspx" />
|
||||
|
||||
@@ -315,12 +315,18 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
url = "Steamware.png";
|
||||
}
|
||||
// verifico esistenza macchina...
|
||||
answ = $"./images/macchine/{url}";
|
||||
// verifico esistenza macchina SMALL...
|
||||
answ = $"./images/macchine/small/{url}";
|
||||
string fullPath = Server.MapPath(answ);
|
||||
if (!File.Exists(fullPath))
|
||||
{
|
||||
// metto default Steamware
|
||||
// se non ci fosse cerco immagine fullsize
|
||||
answ = $"./images/macchine/{url}";
|
||||
fullPath = Server.MapPath(answ);
|
||||
}
|
||||
// altrimenti metto default Steamware
|
||||
if (!File.Exists(fullPath))
|
||||
{
|
||||
answ = "./images/macchine/Steamware.png";
|
||||
}
|
||||
return answ;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Reference in New Issue
Block a user