From 9578b3152a1292973d8be5773be270a48f20fde5 Mon Sep 17 00:00:00 2001
From: cevznriny <57298997+cevznriny@users.noreply.github.com>
Date: Thu, 28 Oct 2021 21:20:59 +0200
Subject: [PATCH] lazy load images (#23)
* lazy load images
* lazy load videos
* bigger images
---
gallery-card.js | 29 +++++++++++++++++++++++------
placeholder.jpg | Bin 0 -> 4343 bytes
2 files changed, 23 insertions(+), 6 deletions(-)
create mode 100644 placeholder.jpg
diff --git a/gallery-card.js b/gallery-card.js
index 48c00be..bbeb713 100644
--- a/gallery-card.js
+++ b/gallery-card.js
@@ -30,7 +30,7 @@ class GalleryCard extends LitElement {
${this.currentResourceIndex == undefined || !(this.config.show_reload ?? false) ?
html`` : html`