Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By vmetal
#88221 Hello! I am using ESP8266 like webserver. I would like to insert a picture depend of a variable but the picture doesn't show.

Code xample:
Code: Select allif (i==0)
{
request->send_P(200, "text/plain", "hello word";
}
else
{
request->send_P(200, "text/html", "<!DOCTYPE HTML><html><body><link rel=""stylesheet"" href=""https://use.fontawesome.com/releases/v5.7.2/css/all.css"" integrity=""sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"" crossorigin=""anonymous""><i class=""fas fa-thermometer-half""></i>""</body>""</html>");
}

Why I can't see the picture?
thank you