Hello, you would need to follow this post: https://rntlab.com/question/web-server-background-image/
Basically, you need to store the image (jpg, png, gif, etc) in a server and then just load it into your web page.
You’re welcome! In the MicroPython web server, you would just need add this to the <sytle> tags to add it as a background:
<style>>body { background-image: url("http://the_url_to_your_image.gif"); }</style>
Or the following inside the <body> tags to add it in the middle of the web page:
<body><img src="http://the_url_to_your_image.gif"></body>
I hope that helps, Rui
Hello Rui,
and if the MicroPython web server is in ap mode and not station mode? (I have loaded the images in esp32, next to boot.py, with thonny).
Hi.
I answered your question here: https://rntlab.com/question/webserver-show-image-loaded-in-esp32-in-micropython/
Regards,
Sara