Recover images from the JSON file with NodeJS


I am testing an Electron app. I want it to grab images from this website. That website has a JSON file that has this code.

How can I get those images and put them in an img tag?

So far I have this code:

var request = require('request');

request("" ,     function(error, response, body) {
body = JSON.parse(body);

function addImg(arr) {
   myImg = arr[0]["filename"];
   var theImg = document.getElementById("image");

   theImg.innerHTML = myImg;

And this HTML:

<!DOCTYPE html>
    <meta charset="utf-8">

    <img id="image">

    <script type="text/javascript">

The problem is, that code doesn't do anything! So how can I grab an image from the JSON file above and put it into and img tag? (Using NodeJS or vanilla JavaScript)

You are simply adding to the img tag the filename, but you need to add the entire image url not just the filename (like IMG_2914.JPG).

I tried but got 404 error.