llgalrc(5)
πΈ NAME πΈ
okay bestie, gather round π this is llgalrc(5), from the File Formats Manual, and it is literally the configuration file for llgal. a whole manpage for one config file? she's giving main character energy and honestly, deserved. π
it's long, so we're doing this in parts. buckle up. β¨
π Names of generic llgal files π
these are the names of the generic llgal files β the building blocks, the essentials, the girlies:
captions_header_filename = "filename"β the name of the captions header file that gets inserted at the beginning of generated captions files. default iscaptions.header. πcss_filename = "filename"β the name of the CSS file. default isllgal.css. π¦filmtile_filename = "filename"β the name of the film tile image. default istile.png. heads up: it has to match the one used in the CSS file, no cap. βindex_link_image_filename = "filename"β changes the image name for the link to the index. default isindex.png. πΈnext_slide_link_image_filename = "filename"β changes the image name for the link to the next slide. default isnext.png. πprevious_slide_link_image_filename = "filename"β changes the image name for the link to the previous slide. default isprev.png. πindextemplate_filename = "filename"β the name of the HTML index template. default isindextemplate.html. β¨slidetemplate_filename = "filename"β the name of the HTML slide template. default isslidetemplate.html. π
π Location of llgal files if available on the web π
if your files live on the web, here's where you tell llgal about it:
css_location = "url"β the location of the CSS on the web instead of a local one [--uc <url>]. if it ends with a slash,css_filenamegets appended. π«Άfilmtile_location = "url"β the location of the filmtile image on the web instead of a local one [--ui <url>]. if it ends with a slash,filmtile_filenamegets appended. π¦index_link_image_location = "url"β the location of the index link image on the web instead of a local one [--ui <url>]. if it ends with a slash,index_link_image_filenamegets appended. πprev_slide_link_image_location = "url"β the location of the prev slide link image on the web instead of a local one [--ui <url>]. if it ends with a slash,prev_slide_link_image_filenamegets appended. πΈnext_slide_link_image_location = "url"β the location of the next slide link image on the web instead of a local one [--ui <url>]. if it ends with a slash,next_slide_link_image_filenamegets appended. π
π Location and name of generated files π
where the output goes and what it's called:
local_llgal_dir = "subdirectory name"β the name of the subdirectory where llgal's generated files get stored. this option is only available in system- and user-wide configuration files. default is.llgal/. π₯index_filename = "filename"β the name of the generated index file [-i <s>]. default isindex. βslide_filenameprefix = "filename prefix"β the prefix of generated HTML slide filenames. default is"slide_". note that this prefix is what decides which HTML gets deleted when--cleanis passed. π
setting this option to an empty string will make llgal remove ALL HTML files. bestie. all of them. be so serious before you do this. π
scaled_image_filenameprefix = "filename prefix"β the prefix used to figure out slide-image filenames from original images (this is for the--sxor--sycase). default is"scaled_". π¦thumbnail_image_filenameprefix = "filename prefix"β the prefix used to figure out thumbnail filenames from original images. default is"thumb_". πcaptions_filename = "filename"β the name of the caption file that gets generated when llgal is called with--gc, or that gets automatically used if it exists, to generate slide captions. default is"captions". πuser_scaled_image_filenameprefix = "filename prefix"β an additional prefix for user-provided scaled images. default ismy. πΈuser_thumbnail_image_filenameprefix = "filename prefix"β an additional prefix for user-provided thumbnails. default ismy. πΈpath_separator_replacement = "char"β the character used to replace/in the thumbnail/scaled versions of subdir images. default is@. β¨
πΌοΈ Index πΌοΈ
all the thumbnail-grid business, iykyk:
index_cellpadding = <pixels>β cellpadding in the index table [-p <n>]. default is3. πlist_links = <0/1>β display links and text as regular text instead of thumbnails in the main gallery thumbnail index [-L]. default is0(disabled). πpixels_per_row = <pixels>β pixels per row of thumbnails in the index [-wx <n>]. default is0(unlimited). π₯thumbnails_per_row = <pixels>β thumbnails per row in the index [-w <n>]. default is5. πthumbnails_dimensions_from_css = <0/1>β don't output any absolute thumbnail size in the HTML code and just assume the CSS style sheet will handle it (intable.index [td.thumb [img]]). default is0(disabled). πthumbnail_height_max = <pixels>β the maximal height of thumbnails [--ty <n>]. default is75. changing this value does not affect the maximal width (seethumbnail_width_max). βthumbnail_width_max = <pixels>β the maximal width of thumbnails [--tx <n>]. if0is used, the width is unlimited. if it's not0, all thumbnails get padded to the given width. default is113. changing this value does not affect the maximal height (seethumbnail_height_max). πshow_caption_under_thumbnails = <0/1>β write captions under thumbnails [-u]. default is0(disabled). π¦show_film_effect = <0/1>β show film effect [--fe]. default is0(disabled). π¬MVI_link_to_target = <0/1>β make movie thumbnails' links point to the movie instead of the corresponding slide. default is1(link to the movie). π₯FIL_link_to_target = <0/1>β make file thumbnails' links point to the file instead of the corresponding slide. default is1(link to the file). πDIR_link_to_target = <0/1>β make directory thumbnails' links point to the movie instead of the corresponding slide. default is1(link to the directory). πLNK_link_to_target = <0/1>β make link thumbnails point to the link instead of the corresponding slide. it's similar to usingLNKNOSLIDE:entries instead ofLNK:. default is1(link to the link target). π
ποΈ Slides ποΈ
the slides themselves, the moment, the drama:
make_no_slides = <0/1>β make no slides [-s]. default is0(make slides). πmake_slide_filename_from_filename = <0/1>β use filenames as slide filenames [-n]. default is0(disabled). πmake_slide_filename_from_extension = <0/1>β also use the extension in the slide filename when it's generated from the filename. default is0(disabled). β¨slide_dimensions_from_css = <0/1>β don't output any absolute image size in the HTML code and just assume the CSS style sheet will handle it (intable.slide td.image-slide img). default is0(disabled). π¦slide_width_max = <pixels>β the maximal width of slides [--sx <n>]. default is0(unlimited). π₯slide_height_max = <pixels>β the maximal height of slides [--sy <n>]. default is0(unlimited). π₯text_slide_width = <pixels>β the default width of text slides. default is400. πtext_slide_height = <pixels>β the default height of text slides. default is300. πindex_link_image = <0/1>β use an image instead of a text label for the link to the index [--li]. default is0(disabled). πΌοΈprev_slide_link_image = <0/1>β use an image instead of a text label for the link to the previous slide [--li]. default is0(disabled). β¬ οΈnext_slide_link_image = <0/1>β use an image instead of a text label for the link to the next slide [--li]. default is0(disabled). β‘οΈprev_slide_link_preview = <0/1>β use a thumbnail preview instead of a text label for the link to the previous slide [--lt]. default is0(disabled). πΈnext_slide_link_preview = <0/1>β use a thumbnail preview instead of a text label for the link to the next slide [--lt]. default is0(disabled). πΈlink_between_last_and_first = <0/1>β generate links between the last and first slides or galleries. default is1(enabled). πmake_slide_title_from_caption = <0/1>β generate slide titles from captions [-k]. default is0(disabled). πshow_exif_tags = <tag1,tag2,...>β display a table of EXIF tags under each image slide [--exif]. the tags are given with their name inexiftool -listand separated with a comma. πΈshow_all_exif_tags = <0/1>β display a table of all available EXIF tags under each image slide [--exif]. π€―slide_link_to_full_image = <0/1>β link the scaled image in slides to the full unscaled images [--nf]. default is1(enabled). π
π¬ Captions π¬
the little text moments under your pics:
captions_removal_line = "string"β this line gets added to the caption file llgal generates when it's called with--gc. if the user doesn't want llgal to remove this caption file when called with--clean, they just need to remove this line from the file. default is"REMOVE THIS LINE IF LLGAL SHOULD NOT REMOVE THIS FILE". π¨make_caption_from_filename = <0/1>β generate captions from filenames. the extension gets removed, except for directories. [--cf]. default is0(disabled). πmake_caption_from_extension = <0/1>β generate captions from filenames with their extension.0(disabled). π¦make_caption_from_image_comment = ,-separated strings of +-separated stringsβ generate captions from the image comment tag [--cc]. default is""(disabled). π¬make_caption_from_image_timestamp = <0/1>β add the image timestamp to generated captions [--ct]. default is0(disabled). β°show_dimensions = <0/1>β show image dimensions [-a,-ad]. default is0(disabled). πshow_size = <0/1>β show file sizes [-a,-as]. default is0(disabled). πΎslide_counter_format = "format"β change the format of the counter on the slides.%ngets replaced with the slide number,%0ngets leading zeros, and%tgets replaced with the number of slides. default is" (%0n/%t)". the slide counter can be disabled by setting it to an empty string [--nc]. π’
π¬ TEXT π¬
okay bestie, this section is all about the words and labels that show up in your gallery. every title, tooltip, alt text, link label β the whole vibe. let's go π
index_title_default = "string"β the default title of the gallery. you can override it with[--title <s>]or withTITLE:in the captions file. default is"Index of pictures". β¨parent_gallery_link_text = "string"β the label of the link to the parent directory. default is"Back to parent gallery". π«Άprev_gallery_link_text = "string"β the label of the link to the previous gallery. default is"Previous gallery "(yes, with a trailing space, don't @ me). πnext_gallery_link_text = "string"β the label of the link to the next gallery. default is"Next gallery "(also with a trailing space). πΈindex_link_text = "string"β the label of the link from a slide to the index. default is"Index". πprev_slide_link_text = "string"β the label of the link from a slide to the previous one. default is"Prev>>". π¦next_slide_link_text = "string"β the label of the link from a slide to the next one. default is"Next>>". π¦MVI_link_text = "string"β text that prefixes the filename when generating link text for movies without a captions file. default is"Open movie ". π¬FIL_link_text = "string"β text that prefixes the filename when generating link text for files without a captions file. default is"Download file ". π₯DIR_link_text = "string"β text that prefixes the filename when generating link text for directories without a captions file. default is"Open subgallery ". πalt_full_text = "string"β text shown as an image alternative for full-size images in slides. default is"". πΌοΈalt_scaled_text = "string"β text shown as an image alternative for scaled images in slides. default is"Scaled image ". πalt_thumbnail_text = "string"β text shown as an image alternative for thumbnails in the index. default is"Thumbnail ". πΌοΈalt_film_tile_text = "string"β text shown as an image alternative for the film tile in the index. default is"Film Tile". ποΈover_scaled_text = "string"β text shown when the mouse pointer is over a scaled image in a slide. default is"Click to see full size ". π±οΈover_thumbnail_text = "string"β text shown when the mouse pointer is over a thumbnail. default is"Click to enlarge ". π±οΈover_index_link_text = "string"β text shown when the mouse pointer is over a link from a slide to the index. default is"Return to the index". πover_prev_slide_link_text = "string"β text shown when the mouse pointer is over a link from a slide to the previous one. default is"Previous slide ". β¬ οΈover_next_slide_link_text = "string"β text shown when the mouse pointer is over a link from a slide to the next one. default is"Next slide ". β‘οΈshow_size_unit = "string"β unit used when printing sizes, with[--asu <s>]. default is"kB". πtimestamp_format_in_caption = timestamp formatβ change thestrftimeformat used when generating captions from image date, with[--ct <s>]. default is"%Y-%m-%d %H:%M:%S". β°credits_text = "string"β credits text at the bottom of the index. default is"created with <a href="http://bgoglin.free.fr/llgal">llgal</a>". π
πΈ WHAT FILES TO INSERT IN THE GALLERY πΈ
bestie, this is the guest list β which files get invited to the gallery party π and which ones get left on read.
image_extensions = "|-separated strings"β extensions that are matched when searching images. default is"jpg|jpeg|png|gif|tif|tiff|bmp". π·movie_extensions = "|-separated strings"β extensions that are matched when searching movies. default is"mpg|mpeg|avi|mov|ogm|wmv". π₯add_all_files = <0/1>β add all files to the list of entries, not only images and movies, with[-A]. default is0(disabled). ποΈadd_subdirs = <0/1>β add subdirectories to the list of entries, with[-S]. default is0(disabled). πexclude = "string"β exclude files whose name matches, with[--exclude <s>]. this option may be used several times. dot beginning files and html files are excluded by default. π«include = "string"β include files whose name matches and were previously excluded, with[--include <s>]. this option may be used several times. the order of includes and excludes is respected. βsort_criteria = "string"β sort criteria when scanning files in the working directory. default is"name". π€
ποΈ SECTIONS ποΈ
section slay β organize your gallery into cute little chapters π
section_dir = "subdir"β include subdirectory contents in the gallery, with[-P <subdir>]. this option may be used several times. subdirectory path must be given relatively to the working directory. default is to use the content of the working directory. πrecursive_sections = <0/1>β add all subdirectories to the list of sections, with[--Pall]. default is0(disabled). πentitle_sections = <0/1>β add the subdirectory name as a title at the beginning each section, with[--Ps]. default is0(disabled). π·οΈseparate_sections = <0/1>β add a horizontal line at the beginning of each section in the index, with[--Ps]. default is0(disabled). β
π RECURSION π
it's giving inception β go deeper, bestie π
recursive = <0/1>β run recursively in subdirectories, with[-R]. default is0(disabled). πlink_subgalleries = <0/1>β add links between subgalleries, with[--Rl]. default is0(disabled). πparent_gallery_link = <0/1>β add links to the parent directory, with[--parent]. default is0(disabled). π
β¨ VARIOUS β¨
the grab bag of extra config, bestie. everything else you might need π
additional_configuration_file = "filename"β additional configuration file that is parsed immediately (before processing the following lines), with[--config <s>]. this option may be used several times. πadditional_template_dir = "path"β additional template directories, with[--templates]. this option may be used multiple times. π¨codeset = "codeset"β codeset to be set in HTML headers, with[--codeset <s>]. π€language = "locale"β language to be used for generated text in HTML pages, with[--lang <s>]. if set, theLANGUAGEenvironment variable might prevent this option from working. πscaled_create_command = "string"β command to use to create scaled images for slides. default is"convert --scale <MAXW>x<MAXH> -- <IN> <OUT>". see THUMBNAILS AND SCALED IMAGES GENERATION for details. πΌοΈthumbnail_create_command = "string"β command to use to create thumbnails for the index. default is"convert --scale <MAXW>x<MAXH> -- <IN> <OUT>". see THUMBNAILS AND SCALED IMAGES GENERATION for details. πΌοΈforce_image_regeneration = <0/1>β force regeneration of thumbnails and scaled images, with[-f]. default is0(disabled). πverbose = <0/1>β print notice messages, with[-v]. default is0(disabled). π’www_access_rights = <0/1>β make all generated files world readable, with[--www]. default is0(disabled). πwww_extension = "string"β extension of generated webpages, with[--php]. default is"html". π
π SEE ALSO π
llgal(1)- The
llgalrctemplate file provided within the documentation directory. π
π AUTHOR π
Brice Goglin π
and that's a wrap, bestie π this page was llgalrc(5), dated NOVEMBER 2006. now go make the most iconic gallery the internet has ever seen. periodt. π
β¨
π¦ where this page comes from
- debian bookworm: llgal 0.13.19-1.1
- debian trixie: llgal 0.13.19-1.1
- ubuntu jammy: llgal 0.13.19-1.1
- ubuntu noble: llgal 0.13.19-1.1
- ubuntu resolute: llgal 0.13.19-2 Β· GPL-2.0-or-later
- ubuntu stonking: llgal 0.13.19-2 Β· 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