Problem to show an image on website

Hi ,
I've a little problem , i need to show an image on website from SDcard but i didn't get it works .
I've an arduino UNO ethernet

sample code :

// envoi d'une entete standard de réponse http
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println();
// envoie les chaines de caractères voulues = du code HTML
//---- debut de la page HTML(begin of page) ---
client.println("");
// ---- Entete de la page HTML( header of page) ----
client.println("");
client.println("<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">");
client.println("Connexion au Serveur Arduino");
// balise meta pour réactualisation automatique de la page Web toutes les n secondes ( refresh of page )
client.println("<META HTTP-EQUIV="Refresh" CONTENT="5">");
client.println("");
//----- Corps de la page HTML ( body of page )---
client.println("");
client.println("

");
client.println("");
client.println("<font color=");
client.println("#FF0000");
client.print(byte(34)),client.print(">") ;
client.println("Title");
client.println("");
client.println("");
client.println("

");
client.println("
");
if (strstr("image.jpg", ".jpg") != 0){ //
client.println("Content-Type: image/jpeg");
}
client.print("<img src="),client.print(byte(34));
client.print("logo_edf.jpg"); // image display
client.print(byte(34)),client.print(">") ;
client.println("
");
theFile.close(); // close
client.println("");
client.println("");//---- fin de la page HTML(end of pages)
Sorry for my english ^^' and i accept all help thank you :slight_smile:

Instead of writing the text "client.print("logo_edf.jpg")", you have to get the file from the SD card.
So you have to use SD.begin, SD.open, File.read and so on.

There are good examples for that, you could start here : Arduino Tutorials - Ethernet+SD