toolbar is only icons, added image slideshow
This commit is contained in:
+34
-4
@@ -1,9 +1,39 @@
|
||||
---
|
||||
title: Photo Gallery
|
||||
---
|
||||
<script>
|
||||
let slideIndex = 0;
|
||||
let slides;
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
slides = document.querySelectorAll(".photo");
|
||||
slideIndex = Math.floor(Math.random() * slides.length);
|
||||
showSlide(slideIndex);
|
||||
});
|
||||
|
||||
// Next/previous controls
|
||||
function changeSlides(n) {
|
||||
slideIndex += n;
|
||||
|
||||
if (slideIndex >= slides.length) {
|
||||
slideIndex = 0;
|
||||
}
|
||||
|
||||
if (slideIndex < 0) {
|
||||
slideIndex = slides.length - 1;
|
||||
}
|
||||
|
||||
showSlide(slideIndex);
|
||||
}
|
||||
|
||||
function showSlide(n) {
|
||||
slides.forEach((slide, i) => {
|
||||
slide.style.display = i === n ? "inherit" : "none";
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<p>
|
||||
These are some of my favorite photos I've taken over the course of several years. They were all taken on film, and with the exception of a few, they were completely developed by myself. I develop a negative and then scan it using an Epson scanner and then store them in my digital archive. I use an old Canon Rebel EOS, shooting entirely on manual mode. The color photos were mostly taken on cheap FUJI reels, while the black and white are ILFORD reels.
|
||||
|
||||
|
||||
I recently acquired a digital version of the Rebel. Some of the photos here were taken using that machine.
|
||||
These are some of my favorite photos I've taken over the course of several years. These are mostly self-developed film photos, although some of them are from my new digital camera. My workflow is to develop a negative and then scan it using an Epson scanner; I then store it digitally. I use an old Canon Rebel EOS, shooting entirely on manual mode. The color photos were mostly taken on cheap FUJI reels, while the black and white are ILFORD reels.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user