From 1c7505d5de02f585ec8e7597099fc6425b3625e3 Mon Sep 17 00:00:00 2001 From: Toddeh Alexander - MacAir Date: Thu, 2 May 2024 14:27:00 -0700 Subject: [PATCH] added preview for img upload --- src/php/index.php | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) mode change 100755 => 100644 src/php/index.php diff --git a/src/php/index.php b/src/php/index.php old mode 100755 new mode 100644 index 82a559f..5a88c79 --- a/src/php/index.php +++ b/src/php/index.php @@ -46,7 +46,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && !empty($_FILES['image']['tmp_name']) } } ?> - @@ -78,13 +77,21 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && !empty($_FILES['image']['tmp_name']) - + + +
+

Upload Preview

+ A preview will appear here once you upload. + +
- \ No newline at end of file +