firmware wip - add link to esp32 cam on image
This commit is contained in:
parent
032cc05bb1
commit
9861bb17f7
1 changed files with 4 additions and 2 deletions
|
@ -328,11 +328,13 @@ void WEBroot() {
|
||||||
|
|
||||||
// when an ESP32-Cam IP is given, display picture from it
|
// when an ESP32-Cam IP is given, display picture from it
|
||||||
if(strlen(Esp32CamIP) > 0) {
|
if(strlen(Esp32CamIP) > 0) {
|
||||||
body += "<img class='centered' src='http://";
|
body += "<a href='http://";
|
||||||
|
body += Esp32CamIP;
|
||||||
|
body += "' target='_blank'><img class='centered' src='http://";
|
||||||
body += Esp32CamIP;
|
body += Esp32CamIP;
|
||||||
body += "/capture' alt='Image capture from ESP32CAM at ";
|
body += "/capture' alt='Image capture from ESP32CAM at ";
|
||||||
body += Esp32CamIP;
|
body += Esp32CamIP;
|
||||||
body += "'>\n<br>\n";
|
body += "'></a>\n<br>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
body += "Grow started: ";
|
body += "Grow started: ";
|
||||||
|
|
Loading…
Reference in a new issue