2 Replies Latest reply on Jun 26, 2014 3:00 PM by Clayton Hofrock

    Link of picture stored on SD card for writing HTML

    LeoXu

      Hi, folks,

      My Galileo connects to a local wifi router which doesn't connect to internet, and I'm trying to set up a web server on Galileo by writing HTML, my laptop in the same network will access the IP of Galileo and see a webpage.

      I'm planning to insert a picture in the webpage, the link is in /media/realroot/1.jpg on the SD card, I tried some methods but all failed, I still couldn't see the picture.

      Does anyone know how to write that code?

      It seems like not difficult, but as a rookie of HTML I just cannot make it.....quite disappointing :-(

       

      client.println("<html><body>");

      client.print("<img src='WHAT??'/>");    

      client.println("</html>");

       

       

      Thanks.....

       

      LX