diff --git a/app/api/ViewerWelcomePage.php b/app/api/ViewerWelcomePage.php index 49b9001..6f834ca 100644 --- a/app/api/ViewerWelcomePage.php +++ b/app/api/ViewerWelcomePage.php @@ -10,10 +10,10 @@ class ViewerWelcomePage extends \Mcp\RequestHandler public function get(): void { $images = array(); - if ($handle = opendir('./data/viewerWelcomeImages')) { + if ($handle = opendir('./img/viewerWelcomeImages')) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != "..") { - $images[] = "./data/viewerWelcomeImages/".$entry; + $images[] = "./img/viewerWelcomeImages/".$entry; } } diff --git a/public/img/fabric-pattern.png b/public/img/fabric-pattern.png new file mode 100644 index 0000000..5922de1 Binary files /dev/null and b/public/img/fabric-pattern.png differ diff --git a/data/viewerWelcomeImages/Snapshot_004.png b/public/img/viewerWelcomeImages/Snapshot_004.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_004.png rename to public/img/viewerWelcomeImages/Snapshot_004.png diff --git a/data/viewerWelcomeImages/Snapshot_005.png b/public/img/viewerWelcomeImages/Snapshot_005.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_005.png rename to public/img/viewerWelcomeImages/Snapshot_005.png diff --git a/data/viewerWelcomeImages/Snapshot_007.png b/public/img/viewerWelcomeImages/Snapshot_007.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_007.png rename to public/img/viewerWelcomeImages/Snapshot_007.png diff --git a/data/viewerWelcomeImages/Snapshot_016.png b/public/img/viewerWelcomeImages/Snapshot_016.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_016.png rename to public/img/viewerWelcomeImages/Snapshot_016.png diff --git a/data/viewerWelcomeImages/Snapshot_018.png b/public/img/viewerWelcomeImages/Snapshot_018.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_018.png rename to public/img/viewerWelcomeImages/Snapshot_018.png diff --git a/data/viewerWelcomeImages/Snapshot_022.png b/public/img/viewerWelcomeImages/Snapshot_022.png similarity index 100% rename from data/viewerWelcomeImages/Snapshot_022.png rename to public/img/viewerWelcomeImages/Snapshot_022.png diff --git a/templates/online-display.php b/templates/online-display.php index 838ee63..e9e1a06 100644 --- a/templates/online-display.php +++ b/templates/online-display.php @@ -4,7 +4,7 @@