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 7a75c09 commit 65492d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photography.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1><a href="#" id="back-link">Georges Kanaan</a></h1>
const fullResImgSrc = `https://raw.githubusercontent.com/${GITHUB_USER}/${REPO_NAME}/${BRANCH}/${FOLDER_PATH}/${fileName}`;

const imgElement = `
<a href="${fullResImgSrc}" data-toggle="lightbox">
<a href="${fullResImgSrc}">
<img src="${compressedImgSrc}" alt="${fileName}">
</a>
`;
Expand All @@ -178,7 +178,7 @@ <h1><a href="#" id="back-link">Georges Kanaan</a></h1>
gallery.innerHTML = "<p>Could not load photos. Please check your GitHub repository settings.</p>";
}

gallery.justifiedGallery();
$("#photo-gallery").justifiedGallery();

}

Expand Down

0 comments on commit 65492d1

Please sign in to comment.