From 0a6609969dcebf64cfb4f4758c1b714afe71ad40 Mon Sep 17 00:00:00 2001 From: Ivan Pomykacz Date: Wed, 8 Jan 2025 15:54:05 +0100 Subject: [PATCH] modal image --- include/gallery.php | 1 + include/modal.php | 37 +++++++++++++++++++++++++++++++++++++ include/tiles.php | 7 ++++++- 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 include/modal.php diff --git a/include/gallery.php b/include/gallery.php index 524b58c..7334034 100644 --- a/include/gallery.php +++ b/include/gallery.php @@ -1,6 +1,7 @@ diff --git a/include/modal.php b/include/modal.php new file mode 100644 index 0000000..edac2f1 --- /dev/null +++ b/include/modal.php @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/include/tiles.php b/include/tiles.php index effe6fc..f8a374d 100644 --- a/include/tiles.php +++ b/include/tiles.php @@ -4,7 +4,12 @@ foreach ($images as $image) { ?>
- " class="card-img-top" alt="..."> + " + data-bs-label="" + src="/static/images/thumbs/thumb_" class="card-img-top" alt="...">