FGALLERY(1)
β¨ FGALLERY π
okay bestie, gather round, because this is fgallery β the manual page for a static HTML+JavaScript photo album generator, and honestly? it's giving minimalist icon behavior. no cap.
π SYNOPSIS
fgallery [-hvsioktrpdfg] [-c methods] [-j N] [--max-full WxH]
[--max-thumb WxH] [--min-thumb WxH] [--no-sRGB] [--quality Q]
[--index URL] [--geobase URL] [--geozoom z] input-dir
output-dir [album name]
πΈ DESCRIPTION
so fgallery is a static photo gallery generator. no frills. it has a stylish, minimalist look, and it shows your photos and nothing else. periodt.
there's no server-side processing happening here β it's static generation only. the resulting gallery can be uploaded literally anywhere with zero extra requirements, and it works with any modern browser. but bestie, heads up: JavaScript is required to view the gallery. iykyk.
the gallery features a big ol' area for viewing a single image, plus a scrollable horizontal or vertical bar full of thumbnails. the orientation of that thumbnail bar? automatically chosen based on the size of the browser window. she's adaptive. she's β¨smartβ¨.
the user can click on arrows to go to the next or previous image, or use the arrow keys on the keyboard to do the same thing. they can also click on the thumbnails to jump quickly to another image. each image has a unique anchor tag, so the user can copy&paste the URL straight from the browser's address bar and it'll point to the currently displayed image. iconic.
clicking on the previewed image will display the original at full resolution β unless the -s option is used. π
fgallery reads in JPEG, PNG and TIFF images, and automatically generates preview images, backdrops and thumbnails using ImageMagick(1). it will automatically correct the orientation of the generated images using EXIF tags from the originals, using either exiftran(1) or exifautotran(1). it can also optimize thumbnail generation by centering on faces if the -f option is used and facedetect(1) is installed. the generated images get automatically optimized using jpegoptim(1) and/or pngcrush(1) if those programs are installed. and if the original images contain color profiles, the generated images will be converted to the sRGB colorspace using tificc(1) if that program is installed β unless the --no-sRGB option is used.
fgallery can also add captions to images. these can either be read from the EXIF headers (using the Title, Description and optionally the Comment tags), or from an external file (using the same filename as the image but with a .txt or .xmp extension). the -c option controls which methods of caption extraction will be used.
you have to manually specify the directory with the original image files, and the desired output directory for the web gallery. optionally, you can specify a title for the gallery. by default, the gallery will include a downloadable ZIP archive with the complete photo album β unless either the -d or -s option is used. and after the gallery has been generated, you may have to change the file permissions using chmod(1) to allow them to be read by others. slay responsibly π
π OPTIONS
-h,--helpβ displays a list of options. your little helper fr fr.-vβ verbose output (shows commands as they're being executed).-sβ slim output (no original files and no downloads).-iβ include individual originals in the generated album.-oβ do not auto-orient images.-kβ do not modify source files, keep originals.-tβ do not sort images on time.-rβ reverse the order of the images.-pβ do not automatically include full-sized panoramas.-dβ do not generate a full album download.-fβ improve thumbnail cutting by performing face detection. requiresfacedetect(1)to be installed.-gβ respect GPS cooredinates of images πΊοΈ-cmethods β set the caption extraction method (txt,xmp,exif,cmtornone). multiple methods can be specified by giving a comma-separated list. the default istxt,xmp,exif.-jN β use N threads to process the images.--max-fullWxH β set the maximum full image size to WxH pixels. the default is1600x1200pixels.--max-thumbWxH β set the maximum size of thumbnails to WxH pixels. the default is267x200pixels.--min-thumbWxH β set the minimum size of thumbnails to WxH pixels. the default is150x112pixels.--no-sRGBβ do not try to remap preview and thumbnail image color profiles to sRGB.--qualityQ β set the JPEG quality of the preview images to Q. the default is90.--indexURL β specify the URL location for the index and back buttons.--geobaseurl β specify the URL location geolocation (default:http://osm.org) (when--geobaseis specified-gis implicitly set).--geozoomz β specify the zoom level of geo maps (default:17) (when--geozoomis specified-gis implicitly set).
π¦ SEE ALSO
ImageMagick(1), exiftran(1), exifautotran(1), jpegoptim(1), pngcrush(1), tificc(1), facedetect(1) (see https://www.thregr.org/~wavexx/software/facedetect/).
π AUTHORS
fgallery was written by Yuri D'Elia <wavexx@thregr.org>. absolute legend behavior, we love to see it π
and that's the whole thing bestie!! this lil beauty lives in the FGALLERY(1) manual, source dated 2022-11-27 β so go forth, generate your static album, and remember: no server, no problem π«Άβ¨π
π¦ where this page comes from
- debian bookworm: fgallery 1.9.1+ds-1 Β· GPL-2.0-or-later
- debian trixie: fgallery 1.9.1+ds-2 Β· GPL-2.0-or-later
- ubuntu noble: fgallery 1.9.1+ds-2 Β· GPL-2.0-or-later
- ubuntu questing: fgallery 1.9.1+ds-2
- ubuntu resolute: fgallery 1.9.1+ds-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: fgallery 1.9.1+ds-2build1 Β· GPL-2.0-or-later
- Copyright 2015 Guus Sliepen <guus@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms