Custom Pages
Posted: Monday 28 October 2024 0:36
Hi,
Using this script:
Putting the png in ~/domoticz/www/templates doesn't help either
the png file isn't displayed.
Putting the file in /var/www gives a perfect display on 192.168.2.104/graph.png
The webserver on my RPI is lighttpd
Should something in the config of lighttpd be changed?
Using this script:
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>Charging Levels Graph</title>
</head>
<body>
<h1>Charging Levels for Last Month</h1>
<img src="http://192.168.2.104/home/pi/scripts/graph.png" alt="Charging Levels Graph">
</body>
</html>
the png file isn't displayed.
Putting the file in /var/www gives a perfect display on 192.168.2.104/graph.png
The webserver on my RPI is lighttpd
Should something in the config of lighttpd be changed?