Skip to content

noarche/gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gallery

꧁꧂ HOW TO USE:

Clone this directory: git clone https://github.com/noarche/gallery

  1. paste all files in repo into www root dir of your web server before running script

  2. paste your albums in directories in ./galleryRoot OR change line 6 of gallery.py to reflect the correct directory.

  3. To delete or add photos physically remove or add photo to the album/directory from step 2 & run script to update all pages.

run the following command

 python3 gallery.py

 or 

 python gallery.py

꧁꧂ Notes

Everything will be automatically generated on first run. (Album name will be the same as directory name.)

You do not need web host to view on your own computer. Simply add a shortcut to index.html to your desktop.

If you do not have a web host or software installed and want to view from another machine go to the directory where index.html is located and open in terminal

use command python3 -m http.server 8080 or python -m http.server 8080 to start web hosting on port 8080 (http://localhost:8080) with python.

꧁꧂ Buy me a coffee ☕

qrCode

Bitcoin address bc1qnpjpacyl9sff6r4kfmn7c227ty9g50suhr0y9j

Ethereum address 0x94FcBab18E4c0b2FAf5050c0c11E056893134266

Litecoin address ltc1qu7ze2hlnkh440k37nrm4nhpv2dre7fl8xu0egx

githubstamp


noarche's GitHub stats

Want to convert all your images to webp format to save a ton of space? This script does so without compressing your images.

Check out my Batch Convert Img to and Batch Resize Scripts here