server ver - adding lazy loading to emoji images in atmos layout

This commit is contained in:
2021-07-11 09:16:14 +00:00
parent 8a13824fd0
commit 576669d9ee
17 changed files with 1462 additions and 45 deletions

View File

@@ -28,7 +28,7 @@
$files = array_map(function ($f) { return pathinfo($f); }, $files);
?>
@foreach ($files as $file)
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}"></a>
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}" loading="lazy"></a>
@endforeach
</div>
</div>

View File

@@ -74,4 +74,4 @@
</form>
</div>
@endif
</nav>
</nav>