LAZYGAL.CONF(5)
π LAZYGAL.CONF(5) π
okay bestie, so this is the File Formats Manual page for lazygal.conf, and it's literally the configuration file for lazygal, a static web gallery generator. Yes, the whole page. Buckle up. π
β¨ NAME β¨
lazygal.conf β Configuration file for lazygal, a static web gallery generator.
π FORMAT DESCRIPTION π
So here's the tea: lazygal gets configured using JSON files. The format looks like this:
{
"sectionname": {
"variable" : "string value ",
"boolean" : false,
"list" : ["foo", "bar"],
"dictionary" : {
"key1": "value1",
"key2": "value2"
}
},
"othersection": {
"foo" : "bar"
}
}
This format is the preferred way to configure LAZYGAL. Periodt. π
π§ LEGACY FORMAT DESCRIPTION (INI) π§
She can also be an INI-like file, if you're feeling nostalgic. The format looks like this:
[sectionname]
variable = string value
boolean = Yes
list = foo, bar
dictionary = key1=value1, key2=value2
[othersection]
foo = bar
In this INI format, boolean values can be conveniently set in the following ways:
- For True:
1,yes,true, andon. - For False:
0,no,false, andoff.
Please refer to the python ConfigParser documentation for more information on the file format. π
π₯ runtime section π₯
The runtime defines the runtime parameters.
quietβ Boolean. Same as--quietin LAZYGAL if True. (default isFalse).debugβ Boolean. Same as--debugin LAZYGAL if True (default isFalse).check-all-dirsβ Boolean. Same as--check-all-dirsin LAZYGAL if True. (default isFalse).
π global section π
The global defines the global parameters. Those parameters apply to all the sub-galleries. main character energy fr fr π
output-directoryβ Same as--output-directory=DEST_DIRin LAZYGAL (default is current directory).clean-destinationβ Boolean. Same as--clean-destinationin LAZYGAL if True.preserveβ Same as--preserve=PATTERNin LAZYGAL. Multiple values may be separated by commas.excludeβ Same as--exclude=PATTERNin LAZYGAL. Multiple values may be separated by commas.dir-flattening-depthβ Same as--dir-flattening-depth=LEVELin LAZYGAL.puburlβ Same as--puburl=PUB_URLin LAZYGAL.themeβ Same as--theme=THEMEin LAZYGAL.
π¦ webgal section π¦
The webgal defines the parameters for a web-gallery.
default-styleβ Same as--default-style=DEFAULT_STYLEin LAZYGAL.webalbumpic-bgβ Same as--webalbum-pic-bg=WEBALBUMPIC_BGin LAZYGAL.webalbumpic-typeβ Same as--webalbum-pic-type=WEBALBUMPIC_BGin LAZYGAL. If you set this to'tidy'you may also consider settingwebalbumpic-size(see below) to something smaller than the default200x150.webalbumpic-sizeβ Size of picture mash-up representing galleries, eg.200x150.image-sizeβ Same as--image-size=IMAGE_SIZEin LAZYGAL. Syntax in the config file can be either of the following equivalent forms:
"image-size": [
{"name": "small", "defs": "800x600", "default": true},
{"name": "medium", "defs": "1024x768"}
]
or with implicit default as first entry:
"image-size": {
"small" : "800x600",
"medium": "1024x768"
}
thumbnail-sizeβ Same as--thumbnail-size=THUMBNAIL_SIZEin LAZYGAL.video-sizeβ Size of videos, eg.0x0. Refer to the IMAGE RESIZE DESCRIPTION section for more information on the available syntax. In addition, size can be the name of a previously declaredimage-size. π₯thumbs-per-pageβ Same as--thumbs-per-page=THUMBS_PER_PAGEin LAZYGAL.sort-mediasβ Same as--pic-sort-by=ORDERin LAZYGAL.sort-subgalsβ Same as--subgal-sort-by=ORDERin LAZYGAL.originalβ Boolean. Same as--originalin LAZYGAL if True (default isFalse).original-baseurlβ Same as--orig-base=RELATIVE_PATHin LAZYGAL.original-symlinkβ Boolean. Same as--orig-symlinkin LAZYGAL if True (default isFalse).dirzipβ Same as--make-dir-zipin LAZYGAL if True (default isFalse).jpeg-qualityβ Same as--quality=QUALITYin LAZYGAL.jpeg-optimizeβ Boolean. Run an extra optimization pass for each generated thumbnail if True, the default.jpeg-progressiveβ Generate progressive JPEG images if True, the default.publish-metadataβ Publish image metadata if True, the default: copy original image metadata in reduced picture, and include some information in the image page.filter-by-tagβ Same as--filter-by-tag=TAGin LAZYGAL.
πΈ template-vars section πΈ
The template-vars defines the custom template variables. The variables and their value are listed in this section.
For instance, $footer is a template variable in the default template. Its value can be defined with this configuration file:
{
"template-vars": {
"footer": "<p>All pics are copyright 2011 me</p>"
}
}
π«Ά SEE ALSO π«Ά
π AUTHOR π
This manual page was written for the DEBIAN system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
β AUTHORS β
Alexandre Rossi.
aaaand that's the whole page, bestie! π©· this was LAZYGAL.CONF(5) from top to bottom β shoutout to the footer for also being LAZYGAL.CONF(5), consistency queen π π go forth and configure, iykyk β¨π
π¦ where this page comes from
- fedora 44: lazygal 0.11-8.fc44 Β· GPL-2.0-or-later AND MIT
- ubuntu stonking: lazygal 0.12-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms