Skip to content

Commit

Permalink
Fix image path in photo gallery script
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset committed Feb 5, 2024
1 parent 18bddb6 commit 0d32eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photo-gallery/add-new-images.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

function loadImage(name, size) {
const img = document.createElement("img");
img.src = `add-new-images/${size}/${name}`;
img.src = `add-new-images/new-img/${size}/${name}`;
document.body.appendChild(img);

return new Promise((resolve) => {
Expand Down

0 comments on commit 0d32eba

Please sign in to comment.