Install album by entering the following commands in the terminal:
sudo apt update sudo apt install album
HTML photo album generator with theme support
Album is a perl script that can create HTML photo albums for your directories of images. It supports themes that determine the visual appearance of the albums. Album creates thumbnails if necessary, and 'medium sized' versions of images for web viewing to avoid large downloads of original images. You can also customize your photo albums in many other ways. . This program doesn't require a web server to work. Once the HTML is generated, you can put it in your "www" directory.