Image gallery JavaScript ~9KB

<!--Copy/Paste(ctrl+a/ctrl+c/ctrl+v)-->

<script defer src="js/gall7.min.js"></script>

<!-- optional configuration(defaults) -->

<script>

window.IGConfig = {

delaySeconds: 2,

showButtons: 1,

showButtonsOnPlay: 1,

imageContainer: 'gall7',

folder: 'x/', // string + "/" === folder

extension: '' // for bigger resolution

}

</script>

Image gallery with autoplay and download buttons, without external libraries just plain JavaScript (vanilla). Simple solution for portfolio or photo gallery.