Hi.
The answer is in this tutorial: https://randomnerdtutorials.com/display-images-esp32-esp8266-web-server/
See section number 2.
I hope this helps.
Regards,
Sara
Hi SARA, Many thanks for your fast reply.
server.on(“/img”, HTTP_GET, [](AsyncWebServerRequest *request){
request->send(SPIFFS, “/Meise.jpg”, “image/jpeg”);
});
The browser receives the picture and displays it fullscreen.
On my webpage I have a table. And in one cell I want to use the picture as a background.
This is my problem.
I will be off for a week. Therefore dont hurry, if you want to answer.
Kind regards Peter Poesel
Hi.
For that you need CSS.
Check the following discussion: https://stackoverflow.com/questions/28422551/adding-a-background-image-to-a-single-table-cell
I think it is exactly what you’re looking for.
Regards,
Sara
Many thanks for your detaled answer, I could solve my problem.
Kind regards Peter POESEL
Many thanks for your detaled answer, I could solve my problem.
Kind regards Peter POESEL