In some recent blog posts, I added quite a lot of images. So, I thought it would be nice, to be able to click on an image to view it full screen and then to scroll through all images on the page. I did not find a minimal script that did just that, all options were very bloated, so I just wrote my own slideshow script.
The script is so simple, that this blog post contains all the code, so you can take it, adapt it, and make it your own.
Here is a small example gallery:
sto flip through all images
qor tap anywhere to leave the gallery and return to the page
The installation is simple:
gallery.jsfile at the end of your
<img>tags are used for the gallery:
Here are the contents of