gallery2 - Web based photo album organizer written in PHP

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename gallery2-2.3.2_10.txz
Package name gallery2
Package version 2.3.2
Package release 10
Package architecture amd64
Package type txz
Category www
License GPLv2
Download size 7.20 MB
Installed size 47.53 MB
Gallery is a web based software product that lets you manage your photos on your
own website. You must have your own website with PHP support in order to install
and use it. With Gallery you can easily create and maintain albums of photos via
an intuitive interface. Photo management includes automatic thumbnail creation,
image resizing, rotation, ordering, captioning, searching and more. Albums can
have read, write and caption permissions per individual authenticated user for
an additional level of privacy. Give accounts to your friends and family and let
them upload and manage their own photos on your website!
- DCRAW: off
- FFMPEG: off
- GD: off
- JHEAD: on
- NETPBM: off
- NLS: on
- MYSQL: on
- PGSQL: off
Before using Gallery 2, you will need to configure your database.
Full instructions are available here:
If you are using MySQL, here's the short version of the instructions:
1. Create a new database:
$ mysqladmin -uroot create gallery2
2. Grant access to the database:
$ mysql -uroot -e"GRANT ALL ON gallery2.* TO USERNAME@localhost IDENTIFIED BY 'PASSWORD'" gallery2
(choose your own values for USERNAME and PASSWORD)
You will also need to configure Apache.  Consider adding the following
to your httpd.conf:
Alias /gallery2 "/usr/local/www/gallery2"
<Directory "/usr/local/www/gallery2">
AllowOverride Options FileInfo
Allow from all
Then restart Apache: 'apachectl graceful'
Please visit 'http://{host.domain}/gallery2/' in a
web-browser and follow the configuration instructions.


Package Version Architecture Repository
gallery2-2.3.2_10.txz 2.3.2 i386 FreeBSD Ports Quarterly
gallery2-2.3.2_10.txz 2.3.2 amd64 FreeBSD Ports Quarterly
gallery2-2.3.2_10.txz 2.3.2 i386 FreeBSD Ports Latest
gallery2 - - -


Name Value
ImageMagick6 =,1
gettext-runtime =
jhead = 3.03
php72 = 7.2.17_2
php72-gettext = 7.2.17_2
php72-mysqli = 7.2.17_2
php72-session = 7.2.17_2


Type URL
Binary Package gallery2-2.3.2_10.txz
Source Package www/gallery2

Install Howto

Install gallery2 txz package:

# pkg install gallery2

See Also

Package Description
gambit-16.0.1_3.txz Library of tools for doing computation in game theory
gambit-c-4.8.8_7,1.txz Gambit programming system where the compiler generates portable C code
gamin-0.1.10_10.txz File and directory monitoring system
gammu-1.40.0_1.txz GNU All Mobile Management Utilities
ganglia-monitor-core-3.7.1_2.txz Ganglia cluster monitor, monitoring daemon
ganglia-webfrontend-3.7.2_2.txz Ganglia cluster monitor, web frontend
ganttproject-2.8.10.txz Gantt chart based project scheduling and management tool
ganyremote-7.0.txz GNOME frontend for anyRemote
gap- GAP is a system for computational discrete algebra
gapcmon-0.8.9_5.txz Monitor apcupsd with GTK+2 GUI
garcon-0.6.4_2.txz Freedesktop compliant menu library
garden-of-coloured-lights-1.0.9_1.txz Old school 2D vertical shoot-em-up with some innovative elements
garlic-1.6_1.txz Molecular viewer, editor, and visualization program
garmindev-0.3.4.txz Drivers for using Garmin GPS units with QlandkarteGT
gastex-3.0.txz Graphs and Automata Simplified in TeX