Displaying Images in ESP32 and ESP8266 Web Server

In this tutorial, we will learn how to display images (format .png or .jpg) in ESP32 and ESP8266 web servers using Arduino IDE. For demonstration, we will build a web server with a simple HTTP protocol as well as an asynchronous library. We will see three different ways to embed images into a web page such as:

  • Example 1: Insert images through a URL in your Web Server
  • Example 2: Build an image web server through ESP SPI flash file system (SPIFFS)
  • Example 3: Convert your images to base64 and then build the Asynchronous and Simple HTTP Web Server
Display Images in ESP32 and ESP8266 Web Server-min

By the end of this guide, you will be able to:

Prerequisites:

We will use Arduino IDE to program our ESP32/ESP8266 development board. Thus, you should have the latest version of Arduino IDE. Additionally, you also need to install the ESP32 and the ESP8266 plugin. If your IDE does not have the plugins installed you can visit the link below:

ESP32/ESP8266 Display Images in Web Server through URL

To insert images through a hyperlink we will incorporate some lines of code in our HTML code. First, create a <img> tag with a src attribute.

<img src="image_source">

Now you can insert the hyperlink to where the image is stored on the internet as follows:

<img src="https://insert_the_website/your_image_source_url.png">

Adding these two lines of code in your HTML script will include the particular image in your web server.

You can view previously uploaded articles regarding ESP web servers in the links given below:

Simple HTTP Web Servers

Asynchronous Web Servers

ESP32 Embed Images in Web Server through SPIFFS

We will learn to create an image web server with ESP32/ESP8266 using SPIFFS and Arduino IDE. ESP32/ESP8266 supports the SPI flash file system or Serial Peripheral Interface Flash File System (SPIFFS). It is a file system created by partitioning the SPI NOR flash of the ESP module into binary file region and file system region. We can use SPIFFS to store files in SPI Flash without having to use any external memory with our ESP module.

The SPIFFS will help us access the flash memory of the ESP32/ESP8266 core. We will store our images in the flash memory of the ESP board and serve them in our asynchronous web server.

Setting up Arduino IDE

Filesystem Uploader Plugin

You will have to download and install the ESP32/ESP8266 Filesystem Uploader Plugin in your Arduino IDE. This will help you to upload the SPIFFS files on your ESP32/ESP8266 board. You can access the link below to learn how to install the plugins smoothly.

For ESP32:

Install ESP32 Filesystem Uploader in Arduino IDE – SPIFFS

For ESP8266:

LittleFS Introduction & Install ESP8266 NodeMCU Filesystem Uploader in Arduino IDE

Installing ESPAsyncWebServer Library and Async TCP/ ESP Async TCP Library

We will learn how to build an asynchronous image web server with the help of the ESPAsycWebServer library.

We will need two libraries to build our web server.

  • ESPAsyncWebServer & AsyncTCP for ESP32.
  • ESPAsyncwebServer & ESPAsyncTCP for ESP8266.

The ESPAsyncWebServer library will help us in creating our web server easily. With this library, we will set up an asynchronous HTTP server. AsyncTCP (for ESP32 only) and ESPAsyncTCP (for ESP8266 only) library will also be incorporated as it a dependency for the ESPAsyncWebServer library. All of these libraries are not available in the Arduino library manager. Therefore, we will have to download and load them on our ESP32/ESP8266 board ourselves.

For ESP32 & ESP8266:

  • To install the ESPAsyncWebServer library for free, click here to download. You will download the library as a .zip folder which you will extract and rename as ‘ESPAsyncWebServer.’ Then, transfer this folder to the installation library folder in your Arduino IDE.

For ESP32 Only:

  • To install the Async TCP library for free, click here to download. You will download the library as a .zip folder which you will extract and rename as ‘AsyncTCP.’ Then, transfer this folder to the installation library folder in your Arduino IDE.

For ESP8266 Only:

  • To install the ESPAsync TCP library for free, click here to download. You will download the library as a .zip folder which you will extract and rename as ‘ESPAsyncTCP.’ Then, transfer this folder to the installation library folder in your Arduino IDE.

Likewise, you can also go to Sketch > Include Library > Add .zip Library inside the IDE to add the libraries as well. After installation of the libraries, restart your IDE.

ESP32 and ESP8266 Code

Open your Arduino IDE and go to File > New to open a new file. Copy the code given below in that file. This code will work for both ESP32 and ESP8266 development boards.

#ifdef ESP32
  #include <WiFi.h>
  #include <ESPAsyncWebServer.h>
  #include <SPIFFS.h>
#else
  #include <Arduino.h>
  #include <ESP8266WiFi.h>
  #include <Hash.h>
  #include <ESPAsyncTCP.h>
  #include <ESPAsyncWebServer.h>
  #include "FS.h"
#endif

// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_Password";

// Create AsyncWebServer object 
AsyncWebServer server(80);

const char index_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML><html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
  <h2>ESP Image Web Server</h2>
  <img src="mango">
 <img src="apple">
  <img src="banana">
  <img src="grape">
  <img src="strawberry">
 <img src="orange"> 
  
</body>  
</html>)rawliteral";
void setup(){
  Serial.begin(115200);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }
  if(!SPIFFS.begin()){
        Serial.println("An Error has occurred while mounting SPIFFS");
        return;
  }

  
  Serial.println(WiFi.localIP());

  server.on("/", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send_P(200, "text/html", index_html);
  });
  
  server.on("/mango", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/mango.png", "image/png");
  });
  server.on("/apple", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/apple.png", "image/png");
  });
  server.on("/banana", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/banana.png", "image/png");
  });
  server.on("/grape", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/grape.png", "image/png");
  });
  server.on("/strawberry", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/strawberry.png", "image/png");
  });
  server.on("/orange", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/orange.png", "image/png");
  }); 
  
  server.begin();
}
 
void loop(){
  
}

Note: If you are using LittleFS with ESP8266 NodeMCU, replace the term SPIFFS with LittleFS in above code and also add LittleFS.h header file.

How the Code Works?

Importing Libraries

Firstly, we will include all the necessary libraries which are required for this project. As this code is compatible with both ESP32 and ESP8266 thus both libraries (WiFi.h and ESP8266WiFi.h) are defined. This library will help in establishing the connection between our ESP module to a wireless network. We will also import the two libraries which we installed previously, the ESPAsyncWebServer library and the ESPAsyncTCP library. As we are using the SPIFFS library that will allow us to access the flash memory file system of our ESP core.

The following libraries will be included if you are using ESP32:

  #include <WiFi.h>
  #include <ESPAsyncWebServer.h>
  #include <SPIFFS.h>

If you are using ESP8266 then you will have to include some additional libraries as shown below:

  #include <Arduino.h>
  #include <ESP8266WiFi.h>
  #include <Hash.h>
  #include <ESPAsyncTCP.h>
  #include <ESPAsyncWebServer.h>
  #include "FS.h"

Setting Network Credentials

Next, we will create two global variables, one for the SSID and another for the password. These will hold our network credentials which will be used to connect to our wireless router. Replace both of them with your credentials to ensure a successful connection.

const char* ssid = "Your_SSID";
const char* password = "Your_Password";

AsyncWebServer Object

The AsyncWebServer object will be used to set up the ESP web server. We will pass the default HTTP port which is 80, as the input to the constructor. This will be the port where the server will listen to the incoming HTTP requests.

AsyncWebServer server(80);

Creating the Web page

const char index_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML><html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
  <h2>ESP Image Web Server</h2>
  <img src="mango">
 <img src="apple">
  <img src="banana">
  <img src="grape">
  <img src="strawberry">
 <img src="orange"> 
  
</body>  
</html>)rawliteral";

We will create the index_html variable to store the HTML text. Then will create a meta tag to make sure our web server is available for all browsers e.g., smartphones, laptops, computers etc.

<meta name="viewport" content="width=device-width, initial-scale=1">

The next step will be to define the HTML web page body. This will go inside the <body></body> tags which mark the beginning and the ending of the script. This part will include the heading of the web page and the images. We will include the heading of our webpage inside the <h2></h2> tags and it will be set as ESP Image Web Server.

<h2>ESP Image Web Server</h2>

After the heading we will include our images which we want to display on our web page. Inside the <img> tag we will pass the image source for each picture individually. Here we are using six images of different fruits.

 <img src="mango">
 <img src="apple">
 <img src="banana">
 <img src="grape">
 <img src="strawberry">
 <img src="orange"> 

These image sources will be later used for making a request on that particular URL. Thus, label the images conveniently and easily.

Setup() function

Inside the setup() function, we will open a serial connection at a baud rate of 11520.

  Serial.begin(115200);

The following section of code will connect our ESP board with the local network whose network credentials we already specified above. After the connection will be established, the IP address of the ESP board will get printed on the serial monitor. This will help us to make a request to the server.

WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }

Serial.println(WiFi.localIP());

These lines of code will initialize the SPIFFS.

  if(!SPIFFS.begin()){
        Serial.println("An Error has occurred while mounting SPIFFS");
        return;
  }

Async Image Web Server SPIFFS

Now, we will look into how the Async image web server handles the HTTP requests received from a client. We can configure the Async Web Server to listen to specific HTTP requests based on configured routes and respond accordingly whenever an HTTP request is received on that route.

We will use the on() method on the server object to listen to the incoming HTTP requests and execute accordingly.

When a request is received on the /root URL

The send_P() method will respond to the request. This method will take in three parameters. The first is 200 which is the HTTP status code for ‘ok’. The second is “text/html” which will correspond to the content type of the response. The third input is the text saved on the index_html variable. Thus, the HTML text saved on the index_html variable will be sent as a response.

server.on("/", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send_P(200, "text/html", index_html);
  });
When a request is sent on the /image_source URL: (/mango, /apple, /banana …)

The send() method will be used to return the HTTP response.
For example, when the server will receive a request on the “/mango” URL, the /mango.png will be sent to the client.

server.on("/mango", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send(SPIFFS, "/mango.png", "image/png");
  });

Likewise, all other image requests will be handled similarly.

To start the server, we will call begin() on our server object.

server.begin();

Uploading Images to ESP32/ESP8266 SPIFFS and LittleFS

Now follow the steps closely to ensure images are properly uploaded to the flash memory of your development boards.

Save the Arduino sketch given above as ‘ESP_Image_Web_Server_SPIFFS.’

Choose the correct board and COM port. Go to Tools > Board and select ESP32 Dev Module or ESP8266 Module. Next, go to Tools > Port and select the appropriate port through which your board is connected.

Before uploading the sketch to your ESP board, first go to Sketch > Show Sketch Folder.

ESP image web server SPIFFS upload images1

This will open up the folder where your Arduino sketch is saved. Now create a new folder inside that folder and save it as ‘data.’

ESP image web server SPIFFS upload images2

Place all the images inside the data folder. Otherwise, the SPIFFS library will not be able to read them. These pictures were taken from iconsout by LottieFlies.

ESP image web server SPIFFS upload images3

The figure below shows how all the files should be placed:

ESP image web server SPIFFS upload images4

Now, we will upload the images to our ESP32/ESP8266 board.

  • For ESP32 go to Tools > ESP32 Data Sketch Upload.
  • For ESP8266 go to Tools > ESP8266 Data Sketch Upload.
SPIFFS sketch data upload

After a few moments, the file will be uploaded. You will receive the message ‘SPIFFS Image Uploaded’ on the debugging window.

Note: Make sure that the total size of the data file is within the flash memory size. Otherwise you will get an error while uploading the images onto SPIFFS.

Demonstration

Click on the upload button to upload the code into the ESP32/ESP8266 development board.
After you have uploaded your code to the development board, press its ENABLE button.

ESP32 enable reset button
Press ENABLE Button

In your Arduino IDE, open up the serial monitor and you will be able to see the IP address of your ESP module.

ESP image web server SPIFFS demo serial monitor
Serial Monitor

Type that IP address in a web browser and press enter.

ESP image web server SPIFFS demo web page
Web Server

ESP32 Embed Images in Web Server with Base64 Encoding

In this section, we will build our webservers by first converting the .png images to base64. Base64 is a type of binary-to-text encoding. It is used to represent binary data in an ASCII format through the translation of data into radix-64.

Converting images to Base64 (Base64 encoding)

First, we will start our project by converting our images to base64 format. We will use the same six images we used previously. Go to the following website for an easy conversion: https://www.browserling.com/tools/image-to-base64

The following web page will open up. Click the ‘Choose File’ button and add one of the images.

ESP image web server Base64 image1

First, we are adding the image: mango.png. Now click the button ‘Convert to Base64!’

ESP image web server Base64 image2

You will be able to view the base64 format as highlighted in the red box below:

ESP image web server Base64 image3

Copy it and save it for later use.

Likewise, follow the same procedure for all six images. In the end, you will have six unique Base64 formats.

How to add in Arduino sketch?

Now we will learn how to incorporate them into our Arduino sketch.

Inside the <img> tag we will pass the image source for each picture individually. We are using six images of different fruits. In the case of the first image, we will specify the source as:

<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image1_DATA">

REPLACE_WITH_YOUR_BASE64_Image1_DATA corresponds to the individual unique base64 format for the first image which we obtained from the website.

For the first image which is mango.png, we will specify the source as:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAGUTAABlEwAG5RZk9AAANI0lEQVR42u1daXQUVRYOKjoOszjjLM7xnDkeFiGBAIkEyJ5OV3dVdxKyQhL2EBC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v5XqEvCLdjkFbtK4T8+g+KN5SKj/pcFP7Nu6QICsGRlu9PnHupzyeisrM4OUfwR1JRjGiH6CCgnXCFLLk17zmr1eohTPL8H1Un+cmSCtO3AAAAAElFTkSuQmCC">

Similarly, we will create five more image sources as HTML tags. You can include as many as you want.

We will show you how to build two types of image web servers with Base64 encoding.

  1. ESP32/ESP8266 Asynchronous Web Sever built from ESPAsyncWebServer Library: suitable for a greater number of images.
  2. ESP32/ESP8266 Simple HTTP Web Server: Suitable for fewer images only.

1. ESP32/ESP8266 Asynchronous Web Server Code

Open your Arduino IDE and create a new file. Copy the code given below in that file. The code will work for both ESP32 and ESP8266. Make sure to replace the network credentials and the base64 data for your images.

#ifdef ESP32
  #include <WiFi.h>
  #include <ESPAsyncWebServer.h>
#else
  #include <Arduino.h>
  #include <ESP8266WiFi.h>
  #include <Hash.h>
  #include <ESPAsyncTCP.h>
  #include <ESPAsyncWebServer.h>
#endif

// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_Password";


AsyncWebServer server(80);

const char index_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML><html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
  <h2>ESP Image Web Server</h2>

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAGUTAABlEwAG5RZk9AAANI0lEQVR42u1daXQUVRYOKjoOszjjLM7xnDkeFiGBAIkEyJ5OV3dVdxKyQhL2EBCYQwKShB2GYRUQhmE0QMIqILshbGFEUBEQUDSAgCxCRlQYQHZZOsud+yqVpKv6VaUDSS3Qdc73Q3Pofv19t+6777777vPyesIfC2f7BWI54j7iBKKzl+dRVYBRCHDCeUQjDzPqCbBJIgBBEw8zKjwMwxABjkrIv23lbB5yVLL+xoi7EgGKPcyoJ0AbivtZ5WFGPQH6UQTI8TCjngBLKAKEe5hR4bGyNiJAiYR8shb4lYcdday/NcX69zj9/c+INOEtOYi4gLiC+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Z/fsaqtoGGzgL4La0REyakVkGggi+IIT26fGgIkTw0inKIRh/9CHwfN7sxJ7MdCK/TgXChS/nv6FRWuQjrB3lCr+c/3/PY74F7m5K4ZU17eZy5qDK2AzD0R+C/8W9bdSSZhqURmWRQrEsscUbrYjtFlwYaARLAA6zO57grtCXAhMr1aDBhVmROVHJYAqPZZdjHOT09PSykP3xvG+qLVEPkiHo22KTjPWcZ3KTMmKxktnuIx1/I7hh2q3z4QxrvsV4q35JIFkVmBJz09aDXp4EnUwZCT1Jei4+ezVJstWAPdBohQELAH0C+wHpBXPr9IaKs1VEQqFpqIt1kFHhdqF5EcvJSP6iDOr5t2K3+4Rt1XJT8uSnwPAaDfZgKs3U5GMVNEkS/CUTj91CljAHPpQJmOJZ8qCRc2I9tgKbWMCEqhCcAp5SQgUSmgFBygNQCmMkIPNSWYXVwqsSqX28HdJlrAdGaejDfAkL4I/4mYjA7k0i0fdzAnzq5N6y5fMw27vd90/h8SbBJx99kWc6T/ruw5vzhf3o2G7BD4vfetQB/kegdwPO8emkd1vLxXRHcgb6H+HB+NV/YpVQgN/ieatgQsAbQF9AFWyWEfLAUcivDxp0KvJ/vspIF6M9XXGPfzNHYPRBQBejJt8DszH//thb2wsL+B8g/oZUFY95pAAAAAElFTkSuQmCC">

</body>  
</html>)rawliteral";


void setup(){
  // Serial port for debugging purposes
  Serial.begin(115200);
  
  // Connect to Wi-Fi
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }

  // Print ESP32 Local IP Address
  Serial.println(WiFi.localIP());

  // Route for root / web page

  server.on("/", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send_P(200, "text/html", index_html);
  });

  // Start server
  server.begin();
}
 
void loop(){
  
}

How the Code Works?

Importing Libraries

Firstly, we will include all the necessary libraries which are required for this project. The following libraries will be included if you are using ESP32:

#include <WiFi.h>
#include <ESPAsyncWebServer.h>

If you are using ESP8266 then you will have to include some additional libraries as shown below:

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <Hash.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
Setting Network Credentials

Next, we will create two global variables, one for the SSID and another for the password. These will hold our network credentials which will be used to connect to our wireless router. Replace both of them with your credentials to ensure a successful connection.

const char* ssid = "Your_SSID";
const char* password = "Your_Password";
AsyncWebServer Object

The AsyncWebServer object will be used to set up the ESP32 web server. We will pass the default HTTP port which is 80, as the input to the constructor. This will be the port where the server will listen to the incoming HTTP requests.

AsyncWebServer server(80);
Creating the Web page

Inside our HTML script, we will include the heading and the images inside the index_html variable. We will include our images in HTML inside the tag with the src attribute. Make sure to copy the exact sequence from the Base64 encoder website for each image.

<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image1_DATA">
<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image2_DATA">
<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image3_DATA">
<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image4_DATA">
<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image5_DATA">
<img src="data:image/png;base64,REPLACE_WITH_YOUR_BASE64_Image6_DATA">
Setup() function

Inside the setup() function, we will open a serial connection at a baud rate of 11520.

  Serial.begin(115200);

The following section of code will connect our ESP board with the local network whose network credentials we already specified above. After the connection will be established, the IP address of the ESP board will get printed on the serial monitor. This will help us to make a request to the server.

  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }
  Serial.println(WiFi.localIP());
Handling Requests

We will use the on() method on the server object to listen to the incoming HTTP requests and execute functions accordingly.

When a request is received on the /root URL the send_P() method will respond to the request. This method will take in three parameters. The first is 200 which is the HTTP status code for ‘ok’. The second is “text/html” which will correspond to the content type of the response. The third input is the text saved on the index_html variable. Thus, the HTML text saved on the index_html variable will be sent as a response.

  server.on("/", HTTP_GET, [](AsyncWebServerRequest *request){
    request->send_P(200, "text/html", index_html);
  });

To start the server, we will call begin() on our server object.

server.begin();

Demonstration

After you have uploaded your code to the development board, press its ENABLE button.

ESP32 enable reset button
Press ENABLE Button

In your Arduino IDE, open up the serial monitor and you will be able to see the IP address of your ESP module.

ESP image web server Base64 serial monitor demo
Serial Monitor

Type that IP address in a web browser and press enter.

ESP image web server Base64 demo web page
Web Server

Unlike the web server created through SPIFFS, in this web server, you can add any number of images.

2. ESP32/ESP8266 Simple HTTP Web Server Code

Open your Arduino IDE and go to File > New to open a new file. Copy the code given below in that file. This code will work for both ESP32 and ESP8266 development boards. You just have to replace the network credentials and the Base64 data in the image source.

#ifdef ESP32
  #include <WiFi.h>
#else
  #include <ESP8266WiFi.h>
#endif

// Replace with your network details
const char* ssid = "Your_SSID";
const char* password = "Your_Password";

// Web Server on port 80
WiFiServer server(80);

void setup() {
  Serial.begin(115200);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
  }
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
  server.begin();
}
void loop() {
  // Listenning for new clients
  WiFiClient client = server.available();
  
  if (client) {
    Serial.println("New client");
    // bolean to locate when the http request ends
    boolean blank_line = true;
    while (client.connected()) {
      if (client.available()) {
        char c = client.read();
        if (c == '\n' && blank_line) {
          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/html");
          client.println("Connection: close");
          client.println();
          client.println("<!DOCTYPE HTML>");
          client.println("<html>");
          client.println("<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"></head><body><h2>ESP Simple HTTP Image Web Server</h2>");
          client.println("<img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAGUTAABlEwAG5RZk9AAARwUlEQVR42u1dB3RUVRoO7mI56nHrOe5Zdz0irK5YFlZAk0zK1GQySWZSJj0hoYaEkkJCF1YPi6j0JiVAkCrSiwIBI7ggCCjSlCIgAmvBDgSBu///8ia+mbn39RmGT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D0R+C/8W9bdSSZhqURmWRQrEsscUbrYjtFlwYaARLAA6zO57grtCXAhMr1aDBhVmROVHJYAqPZZdjHOT09PSykP3xvG+qLVEPkiHo22KTjPWcZ3KTMmKxktnuIx1/I7hh2q3z4QxrvsV4q35JIFkVmBJz09aDXp4EnUwZCT1Jei4+ezVJstWAPdBohQELAH0C+wHpBXPr9IaKs1VEQqFpqIt1kFHhdqF5EcvJSP6iDOr5t2K3+4Rt1XJT8uSnwPAaDfZgKs3U5GMVNEkS/CUTj91CljAHPpQJmOJZ8qCRc2I9tgKbWMCEqhCcAp5SQgUSmgFBygNQCmMkIPNSWYXVwqsSqX28HdJlrAdGaejDfAkL4I/4mYjA7k0i0fdzAnzq5N6y5fMw27vd90/h8SbBJx99kWc6T/ruw5vzhf3o2G7BD4vfetQB/kegdwPO8emkd1vLxXRHcgb6H+HB+NV/YpVQgN/ieatgQsAbQF9AFWyWEfLAUcivDxp0KvJ/vspIF6M9XXGPfzNHYPRBQBejJt8DszH//thb2wsL+B8g/oZUFY95pAAAAAElFTkSuQmCC\">");
          client.println("</body></html>");     
          break;
        }
        if (c == '\n') {
          // when starts reading a new line
          blank_line = true;
        }
        else if (c != '\r') {
          // when finds a character on the current line
          blank_line = false;
        }
      }
    }  
    // closing the client connection
    client.stop();
    Serial.println("Client disconnected.");
    Serial.println("");
  }
}   

How the Code Works?

We have already discussed how simple HTTP web servers are created so we will not go into detail.

To insert the image in this web server you will have to create a <img> tag with an src attribute. Just like we did in the above example. We will be using the Base64 encoding in the src attribute. This will be saved as an HTML text and will be sent to the client via client.println(). This time we will display a single image in our web server so we will create only one <img> tag as shown below:

client.println("<img src=\"data:image/png;base64, "REPLACE_WITH_YOUR_BASE64_Image1_DATA\">");

Demonstration

After you have uploaded your code to the development board, press its ENABLE button.
In your Arduino IDE, open up the serial monitor and you will be able to see the IP address of your ESP module.

ESP image web server Base64 simple HTTP serial monitor demo
Serial Monitor

Type that IP address in a web browser and press enter.

ESP image web server Base64 simple HTTP web page demo
Web Server

Conclusion

In conclusion, we learned three ways to display images in ESP32/ESP8266 web servers. We tried incorporating both simple HTTP web servers and Asynchronous web servers. We learned the process of setting up a web server on the ESP32/ESP8266 and serving image files to web clients.

You may also like to read other ESP32 web server projects for our blog:

1 thought on “Displaying Images in ESP32 and ESP8266 Web Server”

  1. Hi,

    I still haven’t understood the differences between the first example and the second one using Base64. Additionally, I’d to ask if you could help me create an overlay image like crosshair for example while streaming, or let me know if that’s possible.

    I’m looking forward to your response.
    Thank you!

    Reply

Leave a Comment