darktable_to_lightgallery
A combination of a darktable lua script and python scripts to export files in darktable and automatically create a js lightgallery from them
The Darktable Part
consists of export_to_lightgallery.lua. This script adds a module to the right side of darktable, showing
- a entry field for the gallery title
- a directory chooser for the target directory
- a entry field for the uplink url
- a checkbox for the attachment of the "photography|published|gallery|family" tag
- a "Run"-Button
- a "Help" Link
Running it
A click on the run button starts
- the export of all selected files to the chosen directory with a jpg quality of 92 and a max width/height of 2500px
- and runs the python script "create_lightgallery.py" in that directory