ALBUM(1)
π 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.conffile π-virgin_checkβ does the virgin check to see if you've ever run album before π± [Default ON]-save_confβ savesalbum.conffiles 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 outalbum -plugin_info utils/mvfor the tea π-create_pluginβ creates a plugin. Seealbum -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 π [Defaultcaptions.txt]-image_headersβ showsheader.txton 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 socaption_edit.cgiwill work βοΈ [Default OFF]--exif=fmtβ appends exif info to captions πΈ. Use a%key0nfmtstring, 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 as0xin 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. Forfile://, 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.confand/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
- ubuntu resolute: album 4.18-1 Β· programs-at-DaveSource-Marginal-Hacks
- ubuntu stonking: album 4.18-1 Β· programs-at-DaveSource-Marginal-Hacks
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms