PiGallery 2 is a self-hosted directory-first photo gallery website.
Try our live demo! (First load may tak up 30s, while the server boots up)
The gallery is a directory first gallery. It renders your directory structure as it is.
Creates thumbnails on the fly. Can be run without any database but support sqlite and MySQL databases too.
Main features:
Photo viewer
Nice photo viewer with optional information panel that shows all important information about the photo.Map
PiGallery2 reads the location data of the photos and puts them on google maps. The gallery also supports *.gps file to show your tracked path on the map too.Searching
Searching based on keywords, location, file or directory name. The gallery supports autocomplete and instant search too.Sharing
You can share your photo folders with your friends. The sharing link can be also password protected.Easy settings
PiGallery2 has a rich settings page where you can easily set up the gallery. Click here to see all the setting in the live demo.Video playback
It also supports *.mp4, *.webm, *.ogv and *.ogg files.Random link
You can create a link that will serve a random photo from your gallery. You can use this link with 3rd party applications, like with an automatic wallpaper changer gadget.All features:
- Rendering directories as it is
- Listing subdirectories recursively
- Listing photos in a nice grid layout
- supporting most common image formats
- showing tag/keywords, locations, GPS coordinates for photos
- rendering photos on demand (on scroll)
- On the fly thumbnail generation in several sizes
- Custom lightbox for full screen photo viewing
- keyboard support for navigation
- showing low-res thumbnail while full image loads
- Information panel for showing Exif info
- Automatic playing
- gesture support (swipe left, right, up)
- Client side caching (directories and search results)
- Rendering photos with GPS coordinates on google map
- .gpx file support
- Two modes: SQL database and no-database mode
- both modes supports
- user management
- password protection can be disabled/enabled
- database mode supports:
- faster directory listing
- searching
- instant search, auto complete
- sharing
- setting link expiration time
- both modes supports
- internalization / translation support
- Nice design
- responsive design (phone, tablet desktop support)
- Setup page
- Random photo url
- You can generate an url that returns a random photo from your gallery. You can use this feature to develop 3rd party applications, like: changing desktop background
- video support
- fully supports .mp4 files and partially (might have errors with safari and IE) supports .ogg, .ogv, .webm files
- uses ffmpeg and ffprobe to generate video thumbnails