restoring poet static images to see how it affects the performance
@ -558,7 +558,7 @@ namespace GanjooRazor.Pages
|
||||
if (IsPoetPage)
|
||||
{
|
||||
ViewData["Title"] = $"گنجور » {GanjoorPage.PoetOrCat.Poet.Name}";
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Poet.Name, GanjoorPage.PoetOrCat.Cat.FullUrl, $"{GanjooRazor.APIRoot.InternetUrl + GanjoorPage.PoetOrCat.Poet.ImageUrl}");
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Poet.Name, GanjoorPage.PoetOrCat.Cat.FullUrl, $"/image/poets/{GanjoorPage.PoetOrCat.Poet.Id}.png");
|
||||
}
|
||||
else
|
||||
if (IsCatPage)
|
||||
@ -568,7 +568,7 @@ namespace GanjooRazor.Pages
|
||||
foreach (var gran in GanjoorPage.PoetOrCat.Cat.Ancestors)
|
||||
{
|
||||
title += $"{gran.Title} » ";
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"{GanjooRazor.APIRoot.InternetUrl + GanjoorPage.PoetOrCat.Poet.ImageUrl}" : "https://i.ganjoor.net/cat.png");
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"/image/poets/{GanjoorPage.PoetOrCat.Poet.Id}.png" : "https://i.ganjoor.net/cat.png");
|
||||
poetCat = false;
|
||||
}
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Cat.Title, GanjoorPage.PoetOrCat.Cat.FullUrl, "https://i.ganjoor.net/cat.png");
|
||||
@ -582,7 +582,7 @@ namespace GanjooRazor.Pages
|
||||
bool poetCat = true;
|
||||
foreach (var gran in GanjoorPage.Poem.Category.Cat.Ancestors)
|
||||
{
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"{GanjooRazor.APIRoot.InternetUrl + GanjoorPage.PoetOrCat.Poet.ImageUrl}" : "https://i.ganjoor.net/cat.png");
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"/image/poets/{GanjoorPage.PoetOrCat.Poet.Id}.png" : "https://i.ganjoor.net/cat.png");
|
||||
poetCat = false;
|
||||
}
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Cat.Title, GanjoorPage.PoetOrCat.Cat.FullUrl, "https://i.ganjoor.net/cat.png");
|
||||
@ -603,12 +603,12 @@ namespace GanjooRazor.Pages
|
||||
else
|
||||
foreach (var gran in GanjoorPage.PoetOrCat.Cat.Ancestors)
|
||||
{
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"{GanjooRazor.APIRoot.InternetUrl + GanjoorPage.PoetOrCat.Poet.ImageUrl}" : "https://i.ganjoor.net/cat.png");
|
||||
breadCrumbList.AddItem(gran.Title, gran.FullUrl, poetCat ? $"/image/poets/{GanjoorPage.PoetOrCat.Poet.Id}.png" : "https://i.ganjoor.net/cat.png");
|
||||
poetCat = false;
|
||||
fullTitle += $"{gran.Title} » ";
|
||||
}
|
||||
ViewData["Title"] = $"{fullTitle}{GanjoorPage.Title}";
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Poet.Name, GanjoorPage.PoetOrCat.Cat.FullUrl, $"{GanjooRazor.APIRoot.InternetUrl + GanjoorPage.PoetOrCat.Poet.ImageUrl}");
|
||||
breadCrumbList.AddItem(GanjoorPage.PoetOrCat.Poet.Name, GanjoorPage.PoetOrCat.Cat.FullUrl, $"/image/poets/{GanjoorPage.PoetOrCat.Poet.Id}.png");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<img src="@($"{GanjooRazor.APIRoot.InternetUrl}{poem.Category.Poet.ImageUrl}")" alt=@("{poem.Category.Poet.Name}") />
|
||||
<img src="@($"/image/poets/{poem.Category.Poet.Id}.png")" alt=@("{poem.Category.Poet.Name}") />
|
||||
|
||||
<div class="spacer"> </div>
|
||||
</div>
|
||||
|
||||
@ -137,8 +137,8 @@
|
||||
@if (Model.GanjoorPage.SecondPoet != null)
|
||||
{
|
||||
<div style="width:164px;margin:auto">
|
||||
<a href="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.FullUrl)"><img src="@(GanjooRazor.APIRoot.InternetUrl + Model.GanjoorPage.PoetOrCat.Poet.ImageUrl)" alt="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.Name)" style="width:auto;float:right" /></a>
|
||||
<a href="@Html.Raw(Model.GanjoorPage.SecondPoet.FullUrl)"><img src="@(GanjooRazor.APIRoot.InternetUrl + Model.GanjoorPage.SecondPoet.ImageUrl)" alt="@Html.Raw(Model.GanjoorPage.SecondPoet.Name)" style="width:auto;float:right" /></a>
|
||||
<a href="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.FullUrl)"><img src="@($"/image/poets/{Model.GanjoorPage.PoetOrCat.Poet.Id}.png")" alt="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.Name)" style="width:auto;float:right" /></a>
|
||||
<a href="@Html.Raw(Model.GanjoorPage.SecondPoet.FullUrl)"><img src="@($"/image/poets/{Model.GanjoorPage.SecondPoet.Id}.png")" alt="@Html.Raw(Model.GanjoorPage.SecondPoet.Name)" style="width:auto;float:right" /></a>
|
||||
</div>
|
||||
<div style="width:164px;margin:auto">
|
||||
@{
|
||||
@ -151,7 +151,7 @@
|
||||
else
|
||||
{
|
||||
<div style="width:82px;margin:auto">
|
||||
<a href="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.FullUrl)"><img src="@(GanjooRazor.APIRoot.InternetUrl + Model.GanjoorPage.PoetOrCat.Poet.ImageUrl)" alt="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.Name)" /></a>
|
||||
<a href="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.FullUrl)"><img src="@($"/image/poets/{Model.GanjoorPage.PoetOrCat.Poet.Id}.png")" alt="@Html.Raw(Model.GanjoorPage.PoetOrCat.Poet.Name)" /></a>
|
||||
</div>
|
||||
<div style="width:100%;margin:auto">
|
||||
@{
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
@{
|
||||
foreach (RMuseum.Models.Ganjoor.ViewModels.GanjoorPoetViewModel poet in Model.Poets)
|
||||
{
|
||||
<div class="poet"><a href="@poet.FullUrl" title="@poet.Name"><img src="@(GanjooRazor.APIRoot.InternetUrl+poet.ImageUrl)" alt="@poet.Name" /></a><div class="caption"><a href="@poet.FullUrl">@poet.Nickname</a></div></div>
|
||||
<div class="poet"><a href="@poet.FullUrl" title="@poet.Name"><img src="@($"/image/poets/{poet.Id}.png")" alt="@poet.Name" /></a><div class="caption"><a href="@poet.FullUrl">@poet.Nickname</a></div></div>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@ namespace GanjooRazor.Pages
|
||||
$"<div class=\"sit\">{Environment.NewLine} {_GetPoemTextExcerpt(poem.HtmlText)}" +
|
||||
$"<p><br /><a href=\"{poem.FullUrl}\">متن کامل شعر را ببینید ...</a></p>" +
|
||||
$"</div>{Environment.NewLine}" +
|
||||
$"<img src=\"{APIRoot.InternetUrl}{poem.Category.Poet.ImageUrl}\" alt=\"{poem.Category.Poet.Name}\" />"
|
||||
$"<img src=\"/image/poets/{poem.Category.Poet.Id}.png\" alt=\"{poem.Category.Poet.Name}\" />"
|
||||
+
|
||||
$"<div class=\"spacer\"> </div>{Environment.NewLine}"
|
||||
+
|
||||
|
||||
@ -75,7 +75,7 @@ namespace GanjooRazor.Pages
|
||||
$"<div class=\"sit\">{Environment.NewLine} {_GetPoemTextExcerpt(poem.HtmlText)}" +
|
||||
$"<p><br /><a href=\"{poem.FullUrl}\">متن کامل شعر را ببینید ...</a></p>" +
|
||||
$"</div>{Environment.NewLine}" +
|
||||
$"<img src=\"{APIRoot.InternetUrl}{poem.Category.Poet.ImageUrl}\" alt=\"{poem.Category.Poet.Name}\" />"
|
||||
$"<img src=\"/image/poets/{poem.Category.Poet.Id}.png\" alt=\"{poem.Category.Poet.Name}\" />"
|
||||
+
|
||||
$"<div class=\"spacer\"> </div>{Environment.NewLine}"
|
||||
+
|
||||
|
||||
BIN
GanjooRazor/wwwroot/image/poets/10.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
GanjooRazor/wwwroot/image/poets/11.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/12.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/13.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
GanjooRazor/wwwroot/image/poets/14.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/15.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
GanjooRazor/wwwroot/image/poets/16.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
GanjooRazor/wwwroot/image/poets/17.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/18.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/19.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/2.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/20.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
GanjooRazor/wwwroot/image/poets/21.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/22.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
GanjooRazor/wwwroot/image/poets/23.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/24.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/25.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
GanjooRazor/wwwroot/image/poets/26.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/27.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
GanjooRazor/wwwroot/image/poets/28.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/29.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
GanjooRazor/wwwroot/image/poets/3.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/30.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/31.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
GanjooRazor/wwwroot/image/poets/32.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/33.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
GanjooRazor/wwwroot/image/poets/34.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/35.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/36.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
GanjooRazor/wwwroot/image/poets/37.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/38.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
GanjooRazor/wwwroot/image/poets/39.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
GanjooRazor/wwwroot/image/poets/4.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/40.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
GanjooRazor/wwwroot/image/poets/41.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/42.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
GanjooRazor/wwwroot/image/poets/43.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
GanjooRazor/wwwroot/image/poets/44.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
GanjooRazor/wwwroot/image/poets/45.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
GanjooRazor/wwwroot/image/poets/46.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
GanjooRazor/wwwroot/image/poets/47.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
GanjooRazor/wwwroot/image/poets/48.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
GanjooRazor/wwwroot/image/poets/49.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
GanjooRazor/wwwroot/image/poets/5.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/50.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/501.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
GanjooRazor/wwwroot/image/poets/502.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/503.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/504.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
GanjooRazor/wwwroot/image/poets/505.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
GanjooRazor/wwwroot/image/poets/506.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
GanjooRazor/wwwroot/image/poets/509.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
GanjooRazor/wwwroot/image/poets/51.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
GanjooRazor/wwwroot/image/poets/510.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
GanjooRazor/wwwroot/image/poets/511.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
GanjooRazor/wwwroot/image/poets/512.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
GanjooRazor/wwwroot/image/poets/513.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
GanjooRazor/wwwroot/image/poets/514.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
GanjooRazor/wwwroot/image/poets/515.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
GanjooRazor/wwwroot/image/poets/516.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
GanjooRazor/wwwroot/image/poets/517.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
GanjooRazor/wwwroot/image/poets/518.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
GanjooRazor/wwwroot/image/poets/52.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
GanjooRazor/wwwroot/image/poets/53.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
GanjooRazor/wwwroot/image/poets/54.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
GanjooRazor/wwwroot/image/poets/55.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
GanjooRazor/wwwroot/image/poets/56.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
GanjooRazor/wwwroot/image/poets/57.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/58.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
GanjooRazor/wwwroot/image/poets/59.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
GanjooRazor/wwwroot/image/poets/6.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
GanjooRazor/wwwroot/image/poets/60.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
GanjooRazor/wwwroot/image/poets/600.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/602.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
GanjooRazor/wwwroot/image/poets/605.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
GanjooRazor/wwwroot/image/poets/61.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
GanjooRazor/wwwroot/image/poets/610.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
GanjooRazor/wwwroot/image/poets/613.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
GanjooRazor/wwwroot/image/poets/615.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
GanjooRazor/wwwroot/image/poets/616.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/617.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/618.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
GanjooRazor/wwwroot/image/poets/619.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
GanjooRazor/wwwroot/image/poets/62.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
GanjooRazor/wwwroot/image/poets/620.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/621.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
GanjooRazor/wwwroot/image/poets/622.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
GanjooRazor/wwwroot/image/poets/623.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
GanjooRazor/wwwroot/image/poets/624.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
GanjooRazor/wwwroot/image/poets/63.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
GanjooRazor/wwwroot/image/poets/64.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
GanjooRazor/wwwroot/image/poets/65.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
GanjooRazor/wwwroot/image/poets/66.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
GanjooRazor/wwwroot/image/poets/67.png
Normal file
|
After Width: | Height: | Size: 51 KiB |