From b27a3bbc58e57adb323018cd6bc3af9c909e3636 Mon Sep 17 00:00:00 2001 From: aymm Date: Thu, 26 Aug 2021 07:47:56 +0000 Subject: [PATCH] implemented upload --- index.php | 71 +++++++++++++++++++++++++++++++++++------- src/API/PhotoPrism.php | 39 ++++++++++++++++++++--- 2 files changed, 93 insertions(+), 17 deletions(-) diff --git a/index.php b/index.php index b2363e6..710f956 100644 --- a/index.php +++ b/index.php @@ -7,11 +7,49 @@ use PhotoPrismUpload\API\PhotoPrism; ?> - + login(); + $albums = $api->getAlbums(); +} catch (\Exception $e) { + die('Fehler: ' . $e->getMessage()); +} + if (!isset($_POST['submit'])) { ?> -
- - -
- +
+
+ + + + + +
+ +