HTML & ImagesOTA
This examples shows how to make a simple HTTP server with HTML files and images. The example controls two lamps with the buttons on TTGO/LILYGO board and also through the HTML board.
You can find the example here or download full examples files.
Create your resource
You have to upload the files in the HTML
folder as a resource in your project. The HTML file and images will download and save to SPIFFS (user area), after first time the MCU starts.
Final result