feat: added thumbnail middleware (idk if it works tho)
This commit is contained in:
parent
b25949a8f3
commit
6a1287495d
5 changed files with 33 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
|||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 500px;
|
||||
width: 500px;
|
||||
max-height: 500px;
|
||||
max-width: 90vw !important;
|
||||
}
|
|
@ -22,7 +22,7 @@
|
|||
<div class="threadImage">
|
||||
@if (image != null)
|
||||
{
|
||||
<img src="@($"{image.ImageLocation}")" alt="No Image found" />
|
||||
<img src="@($"{image.ImageLocation}?size=258x258")" alt="No Image found" />
|
||||
}
|
||||
</div>
|
||||
<div class="threadTextContainer">
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<div class="threadImage">
|
||||
@if (@post.Image != null)
|
||||
{
|
||||
<img src="@($"{@post.Image.ImageLocation}")" alt="No Image found" />
|
||||
<img src="@($"{@post.Image.ImageLocation}?size=258x258")" alt="No Image found" />
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue