Get started with photoset-grid CDN

MIT licensed

Library for flexible, responsive image gallery grids: Photoset Grid.

Tags:
  • photo
  • grid

Stable version

Copied!

How to start using photoset-grid CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with photoset-grid CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/photoset-grid/1.0.1/jquery.photoset-grid.min.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/photoset-grid/1.0.1/jquery.photoset-grid.min.js"></script>
</head>
<body>
    <div id="gallery">
        <img src="image1.jpg" alt="Image 1">
        <img src="image2.jpg" alt="Image 2">
        <img src="image3.jpg" alt="Image 3">
        <img src="image4.jpg" alt="Image 4">
        <img src="image5.jpg" alt="Image 5">
        <img src="image6.jpg" alt="Image 6">
    </div>

    <script>
        $(document).ready(function() {
            $('#gallery').photosetGrid({
                columns: 3,
                gutter: 10
            });
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions