A combination of a darktable lua script and python scripts to export files in darktable and automatically create a js lightgallery from them

Markus Spring 0379130aaf code for on-the-fly zip creation added 1 ano atrás
LICENSE ccc46bbe26 Initial commit 1 ano atrás
README.md 3668da2160 extending documentation 1 ano atrás
create_lightgallery.py 0379130aaf code for on-the-fly zip creation added 1 ano atrás
export_to_lightgallery.lua d7b1d03936 bug with tag creation fixed 1 ano atrás

README.md

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