Get started with justifiedGallery CDN

MIT licensed

JustifiedGallery is a jQuery plugin for creating responsive image galleries with a justified layout.

Tags:
  • gallery
  • justified
  • grid
  • row
  • image
  • layout
  • flickr
  • google

Stable version

Copied!

How to start using justifiedGallery CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with justifiedGallery CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js">
  <link rel="stylesheet" href="https://cdn.cdnhub.io/justifiedGallery/3.8.1/css/jquery.justifiedGallery.min.css">
</head>
<body>
  <div id="gallery">
    <ul class="gallery">
      <li><img src="image1.jpg" alt="Image 1"></li>
      <li><img src="image2.jpg" alt="Image 2"></li>
      <li><img src="image3.jpg" alt="Image 3"></li>
      <li><img src="image4.jpg" alt="Image 4"></li>
      <li><img src="image5.jpg" alt="Image 5"></li>
    </ul>
  </div>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="https://cdn.cdnhub.io/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js"></script>
  <script>
    $(document).ready(function() {
      $('#gallery .gallery').justifiedGallery();
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions