nanogallery2 is completely free to use in Open Source projects.
However, you can support the maintenance and the development of new features by buying a commercial license, which also includes premium support.
clear and simple
nanogallery2 has a dual-license model:
a GPLv3 license for open source projects,
and a proprietary commercial license.