Skip to content

Commit

Permalink
Update photography.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ge0rges committed Feb 1, 2025
1 parent 6fad395 commit 913278f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions photography.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ <h1><a href="#" id="back-link">Georges Kanaan</a></h1>
<!-- Images will be dynamically inserted here -->
</div>

<!-- Lightbox JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.bundle.min.js"></script>
<!-- Lightbox -->
<link rel="stylesheet" href="css/justifiedGallery.css" />
<script src="js/jquery.justifiedGallery.js"></script>

<!-- JavaScript to Load Images from GitHub -->
<script>
Expand Down Expand Up @@ -176,6 +177,9 @@ <h1><a href="#" id="back-link">Georges Kanaan</a></h1>
console.error("Error loading images:", error);
gallery.innerHTML = "<p>Could not load photos. Please check your GitHub repository settings.</p>";
}

gallery.justifiedGallery();

}

window.onload = loadPhotos;
Expand Down

0 comments on commit 913278f

Please sign in to comment.