Arduino + Ethernet - webserver is SLOW

billroy:
That code only knows how to serve one file: index.html.

When you serve index.html, and it references an image, the browser asks your code for the image file. What does it get in return?

Your code must serve the contents of the image file, too, when it's requested. You'll find you need to change the Content-Type header for images to work properly.

There is code on the forum to do what you want, if you search a bit. I'd start with "web server sd card images".

-br

thank you for the reply.
I thought that once I open the index file then it links the images with that file.
it doesn't load the image that should be the background (body), can you please explain how should i change my code?
thank you