diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults
index 2b6f9f3..e75cda1 100644
--- a/birdnet.conf-defaults
+++ b/birdnet.conf-defaults
@@ -62,6 +62,10 @@ APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
APPRISE_NOTIFICATION_BODY="A \$sciname \$comname was just detected with a confidence of \$confidence"
APPRISE_NOTIFY_EACH_DETECTION=false
+#---------------------- Flickr Images API Configuration -----------------------#
+
+FLICKR_API_KEY=
+
################################################################################
#-------------------------------- Defaults ----------------------------------#
################################################################################
diff --git a/homepage/style.css b/homepage/style.css
index 91547b0..0eed7bc 100644
--- a/homepage/style.css
+++ b/homepage/style.css
@@ -585,4 +585,36 @@ tr {
input {
box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.10);
}
-
+dialog {
+ border:none;
+}
+dialog::backdrop {
+ background: repeating-linear-gradient(
+ 30deg,
+ rgba(24, 194, 236, 0.2),
+ rgba(24, 194, 236, 0.2) 1px,
+ rgba(24, 194, 236, 0.3) 1px,
+ rgba(24, 194, 236, 0.3) 20px
+ );
+ backdrop-filter: blur(1px)
+}
+.centered_image_container {
+ font-size:19px !important;
+ display:inline-block;
+ position:relative;
+ margin-bottom:3px;
+}
+.centered_image_container img.img1 {
+ cursor:pointer;
+ height:95%;
+ position:absolute;
+ right:110%;
+ top:0px;
+ border-radius: 5px;
+}
+.centered_image_container * {
+ font-size:19px !important;
+}
+.centered_image_container form {
+ margin-bottom:0px;
+}
\ No newline at end of file
diff --git a/scripts/config.php b/scripts/config.php
index b925780..cabaa7e 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -10,6 +10,7 @@ $birdweather_id = $_GET["birdweather_id"];
$apprise_input = $_GET['apprise_input'];
$apprise_notification_title = $_GET['apprise_notification_title'];
$apprise_notification_body = $_GET['apprise_notification_body'];
+$flickr_api_key = $_GET['flickr_api_key'];
if(isset($_GET['apprise_notify_each_detection'])) {
$apprise_notify_each_detection = 1;
} else {
@@ -45,6 +46,7 @@ $contents = preg_replace("/BIRDWEATHER_ID=.*/", "BIRDWEATHER_ID=$birdweather_id"
$contents = preg_replace("/APPRISE_NOTIFICATION_TITLE=.*/", "APPRISE_NOTIFICATION_TITLE=\"$apprise_notification_title\"", $contents);
$contents = preg_replace("/APPRISE_NOTIFICATION_BODY=.*/", "APPRISE_NOTIFICATION_BODY=\"$apprise_notification_body\"", $contents);
$contents = preg_replace("/APPRISE_NOTIFY_EACH_DETECTION=.*/", "APPRISE_NOTIFY_EACH_DETECTION=$apprise_notify_each_detection", $contents);
+$contents = preg_replace("/FLICKR_API_KEY=.*/", "FLICKR_API_KEY=$flickr_api_key", $contents);
$contents2 = file_get_contents("./scripts/thisrun.txt");
@@ -54,6 +56,8 @@ $contents2 = preg_replace("/BIRDWEATHER_ID=.*/", "BIRDWEATHER_ID=$birdweather_id
$contents2 = preg_replace("/APPRISE_NOTIFICATION_TITLE=.*/", "APPRISE_NOTIFICATION_TITLE=\"$apprise_notification_title\"", $contents2);
$contents2 = preg_replace("/APPRISE_NOTIFICATION_BODY=.*/", "APPRISE_NOTIFICATION_BODY=\"$apprise_notification_body\"", $contents2);
$contents2 = preg_replace("/APPRISE_NOTIFY_EACH_DETECTION=.*/", "APPRISE_NOTIFY_EACH_DETECTION=$apprise_notify_each_detection", $contents2);
+$contents2 = preg_replace("/FLICKR_API_KEY=.*/", "FLICKR_API_KEY=$flickr_api_key", $contents2);
+
$fh = fopen("/etc/birdnet/birdnet.conf", "w");
$fh2 = fopen("./scripts/thisrun.txt", "w");
@@ -144,6 +148,10 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
>
+
Bird Photos from Flickr
+
+
+ Set your Flickr API key to enable the display of bird images next to detections. Get your free key here.
Localization