CTHUMB(1)
πΈ CTHUMB(1) πΈ
okay so bestie, welcome to the cthumb manual page β section 1, General Commands Manual energy π β it's a themable web picture album generator and honestly? it eats.
β¨ NAME β¨
cthumb β a themable web picture album generator π
π SYNOPSIS π
cthumb -c [options] imagefile ... > file.album
cthumb [options] file.album
like. two modes. pick your fighter. π
π¦ DESCRIPTION π¦
Cthumb creates themable web picture albums with thumbnails of all the pictures, comments for each picture, etc. Cthumb allows you to create web picture albums, i.e. collections of digital pictures, with small thumbnails of your pictures and with captions. In addition, it allows you to have several views of the collection of pictures. An album is composed of a series of pages, each composed of a collection of pictures. For each album page may optionally have two or more versions, like for instance in English, Spanish, German, French, etc. So your visitors would go into the English version of the web album, into the Spanish version, etc. π
Typically (this is what I use it for and why I wrote the program), you accumulate lots and lots of digital pictures and you need to label them and sort them out. Perhaps also you have friends and family that speak different languages. This program lets you very easily make picture albums and have the same pictures labeled in one or more languages. no cap, multilingual besties stay winning π
You can customize almost everything in the way the albums look on the screen, from the size of the thumbnails to the background and foreground colors, the border colors, whether you want film-strips and their picture, etc. the customization is literally the main character here π β¨
β OPERATION β
Cthumb has two modes of operation. okay so let's break it down:
- The
-cmode β active when option-cis specified, it prints an album file, via stdout, comprising all the images given as arguments to the command line. This is the first thing you need to do if you have never tried this program before, just to get you started. Once you have an album file, you edit it and put comments to the pictures, titles to the album pages, etc. In this mode, all the provided options in the command line will be passed through to the album file. See the format of the album file in section ALBUM FILES below. π - The regular mode β the one that actually creates web pages, given the album file, so it is the one that does the real work of the script. Given an album file,
cthumbgenerates web pages containing picture albums and an index with links to all the albums generated. π₯
Cthumb creates several HTML files, one per "Page" in the album.
π‘ Check the README file (probably in /usr/share/doc/cthumb/README) for more detailed info. iykyk π
π OPTIONS π
-c<files> β Create an album file with the files listed and spit it out in standard out. the starter pack fr fr π±-l<n> β Do pages in <n> languages. multilingual era π-f<n> β Go into film mode (<n> thumbnails per row). cinema π¬-rβ Force re-generation of all thumbnails (slow). it's giving patience π-x<n> β Make thumbnail width <n>. π-y<n> β Make thumbnail height <n>. π-nβ In film mode, don't generate the strips. no strips bestie βοΈ-mβ Don't generate a main index file. π-kβ Generate text captions under the thumbnails. captions ON π¬-tβ Check the thumbnail width/height from the thumbnail image itself. This is slow. π-bβ Put the bytes of the main picture in the caption. bytes in the caption, iconic π«Ά
π FILES π
By default cthumb creates the following files (foo being the name of the album file):
foo-index.htmlβ The table of contents. π
πΈ ALBUM FILES πΈ
Album files have a simple, textual format. First, comments in the file are started by the # character and last to the end of the line. The best way to find out the format is to use the -c <files> option for album creation mode, which outputs an album file in stdout. literally just let it write the template for you, no need to suffer π
π§ PER-USER VARIABLES π§
cthumb allows users to have their own variable settings in $HOME/.cthumbrc which is read and interpreted by perl. If perl cannot parse the file, cthumb will complain rather dryly that there is a parse error in the file.
π not the dry complaint. perl said "no β€οΈ"
π₯ VERSION π₯
This is cthumb version 4.2.
The latest version of cthumb can be found at this URL:
http://puchol.com/cpg/software/cthumb/
π AUTHOR π
The main author Carlos Puchol <cpg@nospam.puchol.com>. A couple of other people around the net contributed to this program. See the AUTHORS file. π«Ά
π LICENSE π
This program is released under the GNU GPL license. slay, legally π
π COPYRIGHT π
Copyright by Carlos Puchol, 1999, 2001. Warranty: the usual. No guarantee whatsoever is provided. No liability whatsoever is accepted for any loss or damage of any kind resulting from any defect or inaccuracy in this information or code.
β οΈ bestie the warranty is the usual which is to say: none. no guarantee whatsoever. protect yourself π
π¦ SEE ALSO π¦
perl(1), pnm(5), djpeg(1), rdjpgcom(1), cjpeg(1) β¨
π BUGS π
Option -r regenerates all thumbnails as the program sees them, i.e. one per language. If a picture is listed twice in the album, it will be generated double the amount of times. If you have a lot of thumbnails, this can get lengthy. π it really said "double the work, no thoughts".
A workaround is to delete the thumbnails you want re-generated and run cthumb without the -r option. bestie hack, no cap π«Ά
and that's the whole page, mwah π β this was cthumb(1), 7th Edition, dated 02/19/01 πΈ go make some albums, you're gonna ate π
β¨
π¦ where this page comes from
- debian bookworm: cthumb 4.2-3.2 Β· GPL-2.0-or-later
- debian trixie: cthumb 4.2-5 Β· GPL-2.0-or-later
- ubuntu jammy: cthumb 4.2-3.1 Β· GPL-2.0-or-later
- ubuntu noble: cthumb 4.2-3.2 Β· GPL-2.0-or-later
- ubuntu resolute: cthumb 4.2-5 Β· GPL-2.0-or-later
- ubuntu stonking: cthumb 4.2-5 Β· 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