Family History

PiGallery2 – self-hosted photo gallery

PiGallery2 is a self-hosted photo gallery application that displays photographs and videos directly from existing filesystem directories.

It is designed for lightweight servers, including Raspberry Pi systems, and does not require photographs to be imported into a separate library. The directory hierarchy determines how albums are presented, while background indexing and thumbnail generation help make large collections accessible through a browser.

PiGallery2 combines folder-based browsing with advanced searching, geographical maps and configurable sharing. It also supports saved searches, virtual albums and automatic photo-frame displays.

This is free and open source software.

Key Features

  • Display existing filesystem directories as nested photo albums.
  • Automatically generate thumbnails in multiple sizes, prioritising photographs currently visible on screen.
  • View photographs and videos in a full-screen viewer with keyboard and touch controls.
  • Display EXIF information, including camera settings, dates and geographical coordinates.
  • Support advanced searching with Boolean operators, negation and wildcard matching.
  • Search using dates, ratings, resolution, orientation, keywords, filenames and other metadata.
  • Find photographs within a specified distance of a geographical location.
  • Explore geotagged photographs through OpenStreetMap and other configurable map providers.
  • Display GPX tracks on maps, with different colours and icons for supported activities.
  • Create logical albums from saved search queries.
  • Share directories, albums and search results through links with optional password protection.
  • Apply per-user allow and block filters to photographs and directories.
  • Read Adobe XMP face-region metadata and display face overlays on photographs.
  • Include Markdown content alongside photographs in gallery directories.
  • Create automatically advancing photo-frame displays for directories or search results.
  • Generate random photograph links for use by external applications.
  • Support JPEG, PNG, WebP, GIF and other image formats, with additional formats depending on image-processing support.
  • Play supported videos and generate video thumbnails.
  • Configure album sorting through directory-specific configuration files.
  • Provides an extension system for custom server-side operations.
  • Supports a responsive interface with configurable authentication and gallery settings.

Website: github.com/bpatrik/pigallery2
Support:
Developer: Patrik J. Braun
License: MIT License

PiGallery2 in action

PiGallery2 is written in TypeScript. Learn TypeScript with our recommended free books and free tutorials.


Related Software

Web Photo Gallery
PhotoPrismAI-powered photos app for the decentralized web
ImmichSimple to use backup tool for self-hosted photos and videos
PiwigoAn excellent solution for hosting and sharing your photos
PhotoviewSimple and user-friendly photo gallery that’s made for photographers
LibrePhotosSelf-hosted photo management service
ZenphotoMature, standalone Content Management System
CoppermineFeature-rich and integrated, web picture gallery script
MediaGoblinDecentralized Web platform for hosting and sharing digital media
LycheeAttractive and easy-to-use photo management system
MyPhotoShareStatic web photo, audio and video gallery
PiGallery2Self-hosted web application for publishing photo collections
MemoriesSelf-hosted photo and video management application
HomeGalleryFeaturing tagging, mobile-friendly, and AI powered image discovery
SlinkSelf-hosted platform for uploading and sharing images
DamselflyServer-based Digital Photograph Management system
Ente PhotosPrivacy-focused platform for storing personal data
ChronoFrameSelf-hosted gallery for organizing and browsing photographs
ZophBuilt with PHP and MariaDB
FusselPhoto gallery generator
spisLightweight, private server for hosting and sharing images
SigalGenerates static photo galleries from image collections
PhotofieldFast self-hosted photo gallery for large image collections
PicPeakSelf-hosted event photo sharing and collection platform
fgalleryStatic photo gallery generator with no frills that has a stylish, minimalist look

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted