blob: 16e57a971e53a9d4908ef64353e041762789717d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
pyggle – Python Image Gallery for Static Websites
---
**pyggle** generates a static HTML image gallery from filenames passed on the
command line. It aims to do this one thing well and does not support anything
else. Features include:
* chronological sorting of images via EXIF or filesystem timestamps
(`--sort`, `--reverse`)
* Grouping images by day/month/year
(`--group`, `--group-files`)
* Reverse geocoding to add place names and OpenStreetMap links to image details
(`--with-nominatim`, `--nominatim-zoom`)
* Altering images for publication – note that these edit all files in place
(`--scrub-metadata`, `--resize`, `--exif-copyright`)
## Demo
See the galleries linked from
[finalrewind.org/pics](https://finalrewind.org/pics/).
## Usage
There is no Python package and thus no installation process.
Clone the git repository and run pyggle from the directory you want to have the
gallery in, while passing it some image files. I.e.:
```
cd /some/directory
/another/directory/python-image-gallery/bin/pyggle *.jpg
```
See `pyggle --help` for a list of options.
All image files must be located in or below the current working directory.
|