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 is captions.header. πŸ’…
  • css_filename = "filename" β€” the name of the CSS file. default is llgal.css. πŸ¦‹
  • filmtile_filename = "filename" β€” the name of the film tile image. default is tile.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 is index.png. 🌸
  • next_slide_link_image_filename = "filename" β€” changes the image name for the link to the next slide. default is next.png. 🌈
  • previous_slide_link_image_filename = "filename" β€” changes the image name for the link to the previous slide. default is prev.png. πŸŽ€
  • indextemplate_filename = "filename" β€” the name of the HTML index template. default is indextemplate.html. ✨
  • slidetemplate_filename = "filename" β€” the name of the HTML slide template. default is slidetemplate.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_filename gets 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_filename gets 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_filename gets 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_filename gets 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_filename gets 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 is index. ⭐
  • 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 --clean is 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 --sx or --sy case). 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 is my. 🌸
  • user_thumbnail_image_filenameprefix = "filename prefix" β€” an additional prefix for user-provided thumbnails. default is my. 🌸
  • 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 is 3. πŸ’…
  • list_links = <0/1> β€” display links and text as regular text instead of thumbnails in the main gallery thumbnail index [-L]. default is 0 (disabled). πŸ“
  • pixels_per_row = <pixels> β€” pixels per row of thumbnails in the index [-wx <n>]. default is 0 (unlimited). πŸ”₯
  • thumbnails_per_row = <pixels> β€” thumbnails per row in the index [-w <n>]. default is 5. 🌈
  • 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 (in table.index [td.thumb [img]]). default is 0 (disabled). πŸŽ€
  • thumbnail_height_max = <pixels> β€” the maximal height of thumbnails [--ty <n>]. default is 75. changing this value does not affect the maximal width (see thumbnail_width_max). ⭐
  • thumbnail_width_max = <pixels> β€” the maximal width of thumbnails [--tx <n> ]. if 0 is used, the width is unlimited. if it's not 0, all thumbnails get padded to the given width. default is 113. changing this value does not affect the maximal height (see thumbnail_height_max). πŸ’–
  • show_caption_under_thumbnails = <0/1> β€” write captions under thumbnails [-u]. default is 0 (disabled). πŸ¦‹
  • show_film_effect = <0/1> β€” show film effect [--fe]. default is 0 (disabled). 🎬
  • MVI_link_to_target = <0/1> β€” make movie thumbnails' links point to the movie instead of the corresponding slide. default is 1 (link to the movie). πŸ”₯
  • FIL_link_to_target = <0/1> β€” make file thumbnails' links point to the file instead of the corresponding slide. default is 1 (link to the file). πŸ“„
  • DIR_link_to_target = <0/1> β€” make directory thumbnails' links point to the movie instead of the corresponding slide. default is 1 (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 using LNKNOSLIDE: entries instead of LNK:. default is 1 (link to the link target). πŸ”—

🎞️ Slides 🎞️

the slides themselves, the moment, the drama:

  • make_no_slides = <0/1> β€” make no slides [-s]. default is 0 (make slides). πŸ™ˆ
  • make_slide_filename_from_filename = <0/1> β€” use filenames as slide filenames [-n]. default is 0 (disabled). πŸ’…
  • make_slide_filename_from_extension = <0/1> β€” also use the extension in the slide filename when it's generated from the filename. default is 0 (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 (in table.slide td.image-slide img). default is 0 (disabled). πŸ¦‹
  • slide_width_max = <pixels> β€” the maximal width of slides [--sx <n>]. default is 0 (unlimited). πŸ”₯
  • slide_height_max = <pixels> β€” the maximal height of slides [--sy <n>]. default is 0 (unlimited). πŸ”₯
  • text_slide_width = <pixels> β€” the default width of text slides. default is 400. πŸ“
  • text_slide_height = <pixels> β€” the default height of text slides. default is 300. πŸ“
  • index_link_image = <0/1> β€” use an image instead of a text label for the link to the index [--li]. default is 0 (disabled). πŸ–ΌοΈ
  • prev_slide_link_image = <0/1> β€” use an image instead of a text label for the link to the previous slide [--li]. default is 0 (disabled). ⬅️
  • next_slide_link_image = <0/1> β€” use an image instead of a text label for the link to the next slide [--li]. default is 0 (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 is 0 (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 is 0 (disabled). 🌸
  • link_between_last_and_first = <0/1> β€” generate links between the last and first slides or galleries. default is 1 (enabled). πŸ”
  • make_slide_title_from_caption = <0/1> β€” generate slide titles from captions [-k]. default is 0 (disabled). πŸ’–
  • show_exif_tags = <tag1,tag2,...> β€” display a table of EXIF tags under each image slide [--exif]. the tags are given with their name in exiftool -list and 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 is 1 (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 is 0 (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 is 0 (disabled). ⏰
  • show_dimensions = <0/1> β€” show image dimensions [-a, -ad]. default is 0 (disabled). πŸ“
  • show_size = <0/1> β€” show file sizes [-a, -as]. default is 0 (disabled). πŸ’Ύ
  • slide_counter_format = "format" β€” change the format of the counter on the slides. %n gets replaced with the slide number, %0n gets leading zeros, and %t gets replaced with the number of slides. default is "&nbsp;&nbsp;&nbsp;(%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 with TITLE: 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&gt;&gt;". πŸ¦‹
  • next_slide_link_text = "string" β€” the label of the link from a slide to the next one. default is "Next&gt;&gt;". πŸ¦‹
  • 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 the strftime format 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>". πŸ’–

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 is 0 (disabled). πŸ—‚οΈ
  • add_subdirs = <0/1> β€” add subdirectories to the list of entries, with [-S]. default is 0 (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 is 0 (disabled). πŸ”„
  • entitle_sections = <0/1> β€” add the subdirectory name as a title at the beginning each section, with [--Ps]. default is 0 (disabled). 🏷️
  • separate_sections = <0/1> β€” add a horizontal line at the beginning of each section in the index, with [--Ps]. default is 0 (disabled). βž–

πŸ” RECURSION πŸ”

it's giving inception β€” go deeper, bestie πŸŒ€

  • recursive = <0/1> β€” run recursively in subdirectories, with [-R]. default is 0 (disabled). πŸŒ€
  • link_subgalleries = <0/1> β€” add links between subgalleries, with [--Rl]. default is 0 (disabled). πŸ”—
  • parent_gallery_link = <0/1> β€” add links to the parent directory, with [--parent]. default is 0 (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, the LANGUAGE environment 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 is 0 (disabled). πŸ”„
  • verbose = <0/1> β€” print notice messages, with [-v]. default is 0 (disabled). πŸ“’
  • www_access_rights = <0/1> β€” make all generated files world readable, with [--www]. default is 0 (disabled). 🌐
  • www_extension = "string" β€” extension of generated webpages, with [--php]. default is "html". πŸ“„

πŸ‘€ SEE ALSO πŸ‘€

  • llgal(1)
  • The llgalrc template 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