Note
Archived discussion. This page is a verbatim copy of a thread from
community.ansel.photos, the Ansel community forum, which ran from March 2023
until it was taken offline in June 2025 after the site was compromised — a counterfeit
site had been planted inside the forum software, so the whole thing had to come down.
The original address was https://community.ansel.photos/view-discussion/lua-support-darktable-ansel.
No crawler ever captured this particular thread, so the text below — taken straight from the forum database — is the only copy left.
Answers may refer to older versions of Ansel, and image attachments did not survive the shutdown. Current discussion happens on GitHub Discussions .
Posted by cyberspeck on 2023-05-18.
Hi!
There is a big entry about lua in the docs, (e.g. https://ansel.photos/en/doc/lua/building-ui-elements/ ) but I don’t manage to get it working.
I would like to use this script in Ansel:
https://github.com/darktable-org/lua-scripts/blob/master/contrib/change_group_leader.lua
in order to get handle this use case:
https://discuss.pixls.us/t/use-grouped-jpeg-for-lighttable-thumbnail-if-embedded-is-to-small/37068/2
But I’m not sure if and what I have to change to use it with “Ansel” instead of “darktable”.
Cheers, David
Translated from English by : ChatGPT, Claude. In case of conflict, inconsistency or error, the English version shall prevail.