Page 1 of 1

Using locale image on WebServer

Posted: Sun Aug 03, 2025 11:49 am
by Vangeles
Hello
I program a ESP8266 as a webserver in MicroPython with Thonny.
I want to display pictures.
I've loaded pictures in ESP8266 directory with the standard Thonny load command.
In my html code if I use an external http image it's work fine.
But if if want to use a local file it don't work, the "alt" command is used.
My code with external reference (it works)

Code: Select all

img src="https://images.icon-icons.com/936/PNG/512/angle-arrow-down_icon-icons.com_73683.png" alt="On"

My code with internal reference (it don't work)

Code: Select all

img src="On.png" alt="On"
Any idea ?