<body>
  <div id="w">
    <div id="inner">
      <h1>Galleria jQuery Live Demo</h1>
    
      <div id="gallery-container">
        <div id="mygallery">
          <img src="https://i.imgur.com/3dcZqGA.png">
          <img src="https://i.imgur.com/rn8NvRz.png">
          <img src="https://i.imgur.com/Ea5kxG3.png">
          <img src="https://i.imgur.com/TnRhWeJ.png">
          <img src="https://i.imgur.com/zlCzRcB.png">
          <img src="https://i.imgur.com/CK5rAYJ.png">
        </div>
      </div>
    
      <h3>Sources:</h3>
      <ul>
        <li><a href="http://dribbble.com/shots/1154389-Devices-In-The-Classroom">Image #1</a></li>
        <li><a href="http://dribbble.com/shots/1154856-Never-Stop-Dreamin-WIP">Image #2</a></li>
        <li><a href="http://dribbble.com/shots/1154907-City-2">Image #3</a></li>
        <li><a href="http://dribbble.com/shots/1154754-Lil-Horseman">Image #4</a></li>
        <li><a href="http://dribbble.com/shots/1154593-The-Magic-Bus">Image #5</a></li>
        <li><a href="http://dribbble.com/shots/1153868-Earth-Illustration-for-Kids-App">Image #6</a></li>
      </ul>
    </div>
  </div>
</body>
@import url("https://fonts.googleapis.com/css?family=Fauna+One");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html { overflow-y: scroll; }
body { 
  font-family: 'Helvetica Neue', Helvatica, sans-serif;
  font-size: 62.5%; 
  line-height: 1; 
  color: #434343;
  padding: 40px 0;
  background: #252525 url('https://i.imgur.com/u4QDgw4.png'); /* https://subtlepatterns.com/dark-geometric/ */
}

br { display: block; line-height: 1.5em; } 

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

input, textarea { 
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none; 
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

h1 { font-family: 'Fauna One', Helvetica, sans-serif; font-size: 3.3em; line-height: 1.7em; margin-bottom: 5px; color: #666; }

h3 { font-size: 2.2em; line-height: 1.45em; font-weight: bold; margin-bottom: 6px; }

ul { font-size: 1.2em; }
ul li { margin-bottom: 5px; }

a { color: #7862ad; }
a:hover { color: #8c73c8; }


#w {
  display: block;
  width: 800px;
  margin: 0 auto;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 3px 4px 9px rgba(0,0,0,0.65);
  -moz-box-shadow: 3px 4px 9px rgba(0,0,0,0.65);
  box-shadow: 3px 4px 9px rgba(0,0,0,0.65);
}

#inner {
  padding: 12px 20px;
}


#gallery-container { 
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

#mygallery { 
  width: 700px; 
  height: 450px; 
  margin: 0 auto; 
  background: #353535; 
}
$(function(){
  Galleria.loadTheme('https://cdnjs.cloudflare.com/ajax/libs/galleria/1.2.9/themes/classic/galleria.classic.min.js');
  Galleria.run('#mygallery');
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/galleria/1.2.9/galleria.min.js