ALBUM(1)

πŸ“¦
version 4.18 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸŽ€ ALBUM(1) πŸŽ€

album: the web photo album manual ✨

✨ NAME ✨

album is a web photo album maker πŸ“Έ. You give it a folder of pics and it makes the thumbnails and HTML for you. Literally iconic.

πŸ’… SYNOPSIS πŸ’…

album [album options]

πŸ“– DESCRIPTION

Okay so album is an HTML photo album generator with theme support 🎨. You hand it a directory of images and it builds all the thumbnails and HTML you need. It's fast, it's easy, and it's giving very powerful πŸ’ͺ.

Put your photos in a brand new directory somewhere inside your web pages πŸ“‚. Then open a command-line prompt and run album with the directory path as an argument. That's literally it, bestie 🫢.

To use themes, make sure the "Themes" directory is inside your web path ✨, then use the -theme option 🌈.

🌸 OPTIONS 🌸

Okay, so there are three types of options πŸ‘‘: boolean options, string/num options, and array options. Boolean options can be turned off by prepending -no_ πŸ™ˆ:

% album -no_image_pages

String and number values get specified right after a string option πŸ’–:

% album -type gif % album -columns 5

Array options can be specified two ways 🧚. The first is one argument at a time:

% album -exif hi -exif there

The second is multiple arguments using the -- form:

% album --exif hi there --

You can remove specific array options with -no_<option> πŸ—‘οΈ:

% album -no_exif hi

Or wipe out all the array options with -clear_<option> 🧹:

% album -clear_exif

Boolean options

% album -q, -d, -D, -dtheme, -Dtheme, -virgin_check, -save_conf,
-configure, -crf, -list_options, -image_pages, -thumbs, -dir_thumbs,
-just_medium, -slideshow, -embed, -clean, -image_headers,
-album_captions, -folder_count, -caption_edit, -file_sizes, -fix_urls,
-known_images, -all, -hashes, -reverse_sort, -case_sort, -image_loop,
-burn, -crop, -force, -force_html, -sample, -animated_gifs, -use_tcap

String/number options

% album -thumb_post, -medium, -captions, -top, -sort, -body, -charset,
-force_charset, -index, -default_index, -html, -type, -medium_type,
-CROP, -dir, -sharpen, -plugin_post, -theme, -theme_url, -convert,
-identify, -jhead, -ffmpeg, -conf_file, -dev_null, -windows, -cygwin,
-tcap, -tcap_out, -cmdproxy, -header, -footer, -credit, -no_album,
-hide_album, -not_img

Array options

% album --lang_path, --exif, --exif_album, --exif_image, --add,
--scale_opts, --medium_scale_opts, --thumb_scale_opts, --data_path,
--plugin_path, --theme_path

πŸ¦‹ OPTION DESCRIPTIONS πŸ¦‹

  • -h β€” show the usage πŸ’…
  • -more β€” shows more options πŸ‘€
  • -usage=level β€” show usage as deep as your heart desires 🌊
  • -lang=lang β€” pick the language(s) πŸ—£οΈ
  • -list_langs β€” list out the full language info πŸ“œ
  • -make_lang=lang β€” print out a brand new language file 🌷
  • -list_html_trans β€” lists the HTML translations for each language 🌍. It's super useful for making multilingual images for themes. The output is HTML and utf-8, so change the charset as needed πŸ”€.
  • --lang_path=strings β€” adds a path to search for language files [Default @DATA_PATH/lang]
  • -q β€” be quiet 🀫 [Default OFF]
  • -d β€” set debug mode πŸ› [Default OFF]
  • -D β€” heavy debug mode πŸ”₯ [Default OFF]
  • -dtheme β€” theme debug mode 🎨 [Default OFF]
  • -Dtheme β€” theme heavy debug mode πŸŒ‹ [Default OFF]
  • -conf=file β€” reads a .conf file πŸ“„
  • -virgin_check β€” does the virgin check to see if you've ever run album before 🌱 [Default ON]
  • -save_conf β€” saves album.conf files in the photo album πŸ’Ύ [Default ON]
  • -configure β€” sets up the initial album site configuration βš™οΈ [Default OFF]
  • -version β€” displays the program version info ℹ️
  • -mv β€” moves imgs across albums. Check out album -plugin_info utils/mv for the tea 🚚
  • -create_plugin β€” creates a plugin. See album -plugin_info utils/create_plugin 🧩

πŸ“ Album Options

  • -crf β€” album hash output in a computer readable format πŸ€– [Default OFF]
  • -list_options β€” shows the default options and values for a given album πŸ“‹ [Default OFF]
  • -image_pages β€” creates a page for each image πŸ–ΌοΈ [Default ON]
  • -thumbs β€” images get thumbnails 🌼 [Default ON]
  • -dir_thumbs β€” directories get a thumbnail, if the theme supports it πŸ“ [Default ON]
  • -thumb_post=string β€” an extra postfix for thumbnails 🏷️
  • -medium=geom β€” generates medium size images πŸ“
  • -just_medium β€” don't link to the full-size images πŸ™… [Default OFF]
  • -slideshow β€” slideshow capabilities, but only with some themes 🎞️ [Default OFF]
  • -embed β€” uses image pages for non-picture image pages 🧷 [Default ON]
  • -columns β€” the number of image columns πŸ›οΈ [Default 4]
  • -clean β€” removes unused thumbnails 🧽 [Default OFF]
  • -captions=string β€” specify the captions filename πŸ“ [Default captions.txt]
  • -image_headers β€” shows header.txt on image pages (default theme only) πŸŽ€ [Default OFF]
  • -album_captions β€” also shows captions on the album page πŸ’¬ [Default ON]
  • -folder_count β€” shows folder/image counts for each album πŸ”’ [Default ON]
  • -caption_edit β€” adds comment tags so caption_edit.cgi will work ✏️ [Default OFF]
  • --exif=fmt β€” appends exif info to captions πŸ“Έ. Use a %key 0n fmt string, like this example: -exif "<br>Camera: %Camera model%". If any %keys% aren't found by jhead, nothing gets appended 🫠.
  • --exif_album=fmt β€” -exif, but just for album pages πŸ“š
  • --exif_image=fmt β€” -exif, but just for image pages πŸ–ΌοΈ
  • -file_sizes β€” shows image file sizes πŸ“ [Default OFF]
  • -fix_urls β€” encodes unsafe chars as 0x in URLs πŸ”— [Default ON]
  • -known_images β€” only includes known image types πŸͺͺ [Default ON]
  • -top=string β€” the URL for the 'Back' link on the top page ⬅️ [Default ../]
  • -all β€” stops hiding files/directories that start with '.' πŸ‘» [Default OFF]
  • --add=dir β€” adds a new directory to the album it's been placed in βž•
  • -depth β€” how deep to descend into directories (infinite by default, which is [-1]) 🌊 [Default -1]
  • -follow_symlinks β€” dereferences symbolic links πŸ”— [Default ON]
  • -hashes β€” shows hash marks while generating thumbnails #️⃣ [Default ON]
  • -name_length β€” limits the length of image/dir names βœ‚οΈ [Default 40]
  • -sort=string β€” the sort type: captions, name, date, or EXIF date ('exif') πŸ—‚οΈ [Default captions]
  • -reverse_sort β€” sorts in reverse πŸ”„ [Default OFF]
  • -case_sort β€” uses case sensitive sorting when sorting names πŸ”  [Default OFF]
  • -body=string β€” specifies <body> tags for non-theme output 🧾 [Default <body>]
  • -charset=str β€” the charset for non-theme and some theme output. Language files (with -lang) also set this 🌐
  • -force_charset=str β€” forces the charset. Languages can't override it πŸ”’
  • -image_loop β€” do the first and last image pages loop around? πŸ” [Default ON]
  • -burn β€” sets up an album to burn to CD πŸ’Ώ. It implies '-index index.html' and '-no_theme_url' [Default OFF]
  • -index=file β€” selects the default 'index.html' to use. For file://, try '-index index.html' to add 'index.html' to the index links πŸ”—
  • -default_index=file β€” the file the webserver grabs when no file is specified 🏠 [Default index.html]
  • -html=post β€” the default postfix for HTML files 🧑 [Default .html]

More to come, bestie πŸ’–πŸ¦‹

✨ ENVIRONMENT ✨

okay so album checks a few environment variables, bestie 🫢

  • HOME β€” your home directory 🏠. This is where album goes looking for your user-specific config files, like .albumrc πŸ’–
  • DOT β€” okay this one is so cute 🧚. Instead of only looking for .albumrc, album also checks $DOT/album.conf. The author isn't a big fan of dotfiles cluttering up the home directory, and honestly, same πŸ’€
  • tcap β€” gets set (or overwritten) by the Win98 version of album for tcap arguments πŸ•ΉοΈ

πŸ“ FILES πŸ“

here's everywhere album looks for its configs and album info, sorted by vibe πŸ’…

🌍 Site-specific configuration

  • /etc/album/album.conf and /etc/album.conf β€” site-specific configuration 🌸

πŸ‘€ User-specific configuration

  • $HOME/.albumrc, $HOME/.album.conf, and $DOT/album.conf β€” user-specific configuration πŸ’œ

πŸŽ€ Album-specific configuration

  • <album>/album.conf β€” album-specific configuration πŸŽ€
⚠️ Heads up, bestie: this file will be modified with any new command-line options! 😭

πŸ¦‹ Album information

These all specify album information 🌈

  • <album>/header.txt
  • <album>/footer.txt
  • <album>/captions.txt
  • <album>/.no_album
  • <album>/<image>.no_album
  • <album>/.hide_album
  • <album>/<image>.hide_album
  • <album>/<image>.not_img

πŸ¦‹ SEE ALSO πŸ¦‹

go check these out, they're iconic 🎬


πŸ‘‘ AUTHOR πŸ‘‘

the queen behind all of this is David Ljung Madison, and his site is <http://MarginalHacks.com/> πŸ’–


And that's the tea, bestie! πŸ“ album v4.18 from 2025-10-12 is giving full main character energy ✨🌈 Stay iconic and keep those configs organized πŸ«ΆπŸ’…

πŸ“¦ where this page comes from