diff --git a/Marechai/Marechai.csproj b/Marechai/Marechai.csproj
index 0a1e1688..54788dcf 100644
--- a/Marechai/Marechai.csproj
+++ b/Marechai/Marechai.csproj
@@ -2,7 +2,7 @@
@string.Format(L["Companies founded in {0}."], L[_countryName])
- @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", CountryId + ".svg")))
+ @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", $"{CountryId:D3}.svg")))
{
+ src="/assets/logos/png/1x/@(logo.Guid).png" alt="" height="auto" width="auto" style="max-height: 256px; max-width: 256px" />
}
else
@@ -423,7 +423,7 @@
+
+
+ /assets/logos/thumbs/png/3x/@(company.LastLogo).png 3x" src="/assets/logos/thumbs/png/1x/@(company.LastLogo).png" alt="" height="auto" width="auto" style="max-height: 32px; max-width: 128px" />
}
diff --git a/Marechai/Pages/Companies/View.razor b/Marechai/Pages/Companies/View.razor
index ffacc829..62fd260c 100644
--- a/Marechai/Pages/Companies/View.razor
+++ b/Marechai/Pages/Companies/View.razor
@@ -60,7 +60,7 @@
/assets/logos/webp/3x/@(_company.LastLogo).webp 3x">
+ /assets/logos/png/3x/@(_company.LastLogo).png 3x" src="/assets/logos/png/1x/@(_company.LastLogo).png" alt="" height="auto" width="auto" style="max-height: 256px; max-width: 256px" />
}
+ /assets/logos/png/1x/@(logo.Guid).webp 3x" src="/assets/logos/png/1x/@(logo.Guid).png" alt="" height="auto" width="auto" style="max-height: 256px; max-width: 256px" />
@@ -136,16 +136,16 @@
@if (_company.Country != null)
{
- @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", _company.CountryId + ".svg")))
+ @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", $"{_company.CountryId:D3}.svg")))
{
+