Skip to content

Commit

Permalink
lazy loading carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Feb 19, 2024
1 parent 80bd9d5 commit ca344b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/html/default/templates/imagestemplate.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="{{carousel}}">
<a href="{{image}}" target=\"_blank\"><img src="{{image}}" style="max-width:485px;max-height:500px" alt="{{image}}" title="{{imagetitle}}" /></a>
<a href="{{image}}" target=\"_blank\"><img src="{{image}}" loading="lazy" style="max-width:485px;max-height:500px" alt="{{image}}" title="{{imagetitle}}" /></a>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="{{carousel}}">
<a href=\"{{image}}\" target=\"_blank\"><img src="{{image}}" style="max-width:485px;max-height:500px" alt="{{image}}" title="{{imagetitle}}" /></a>
<a href=\"{{image}}\" target=\"_blank\"><img src="{{image}}" loading="lazy" style="max-width:485px;max-height:500px" alt="{{image}}" title="{{imagetitle}}" /></a>
{{svganno}}
</div>

0 comments on commit ca344b0

Please sign in to comment.