mirror of
https://github.com/SaphireLattice/quest-reader.git
synced 2026-11-12 18:40:36 -07:00
Implement lazy image loading (copied from freefall reader)
This commit is contained in:
7 files changed
+123
-5
No files matched your search
@@ -67,7 +67,7 @@
|
||||
<div class="post-content">
|
||||
@if (item.File is not null) {
|
||||
<figure class="post-image">
|
||||
<img src="@Model.AssetsPath/@item.File" alt="@item.Filename">
|
||||
<img data-src="@Model.AssetsPath/@item.File" alt="@item.Filename" data-height="@item.FileHeight" data-width="@item.FileWidth">
|
||||
</figure>
|
||||
}
|
||||
@if (item.RawHtml.Trim().Length > 0) {
|
||||
|
||||
Reference in new issue
Block a user