JSFiddle - React, Tailwind, and code Playground

HTML

<div id="cont"></div>

CSS

img{
width: 300px;
    display:block;
}

JavaScript

function loadImagesInSequence(images) {
  if (!images.length) {
    return;
  }

  var img = new Image();
      
    //Remove if from the array list and return it to the variable
    var url = images.shift();

  img.onload = function(){ loadImagesInSequence(images) };
  img.src = url;
    
    $("#cont").append(img);
}

loadImagesInSequence(['http://www.nasa.gov/centers/goddard/images/content/433226main_Misti_ComaCluster.jpg',
'http://www.hdwallpapers.in/walls/cold_universe-wide.jpg',                     'http://scienceblogs.com/startswithabang/files/2jj013/05/chemical_composition_universe.jpeg']);