Publish Photos with PhotoShow

Productivity Sauce
Hosting your own photo sharing solution makes a lot of sense, but setting up and maintaining a full-blown application like Gallery or Piwigo requires some technical chops and can be a time-consuming affair. Enter PhotoShow, an open-source photo sharing software that can be deployed in a matter of minutes and requires practically no maintenance.
Unlike many other photo sharing applications, PhotoShow doesn't use a database back end, which dramatically simplifies the installation procedure. In fact, there is no installation procedure to speak of. Grab the latest release of PhotoShow from the project's website GitHub repository, unpack the downloaded archive, and rename the resulting directory (e.g., photoshow). Open the /photoshow/config.php file in a text editor and specify two parameters: $config->photos_dir (the directory containing your photos) and $config->ps_generated (directory for storing contents generated by the application). Move the entire photoshow directory to your server, and point your browser to http://127.0.0.1/photoshow. When prompted, specify a user name and password for the administrative account, and you're done. To configure the application's settings, log in using the specified credentials, and switch to the Admin section. Here, you can specify a gallery title, disable registration and the ability to download photos and entire albums as well as enable Facebook and Google+ buttons. PhotoShow supports comments, but the application doesn't provide any anti-spam functionality. So you might want to disable the commenting feature altogether. In the Admin section, you can also add users and groups and organize them into groups. Later, you can make any photo private and grant access to it to specific users and groups.
Populating PhotoShow with photos is as easy as dropping them onto the upload area in the right sidebar. While PhotoShow doesn't support tags, it allows you to organize your photos into albums and sub-albums. You can create as many albums as you need using the appropriate button in the right sidebar. Another way to add photos to your PhotoShow instance is to simply copy them directly to the directory path which is specified in the /photoshow/config.php file. This means that you can upload photos (and create folders, i.e., albums) from any machine and device as long as the target directory is accessible via FTP, SSH or other protocols. For example, using apps like FolderSync, you can upload photos from an Android device directly to your PhotoShow installation, provided you can connect to the server via FTP.
A quick tip: before you add photos to PhotoShow, it's a good idea to resize them to speed up the gallery. You can use the convert tool, which is part of the ImageMagick package, to do this. The following command processes all JPG images in the current directory, reducing their size by 50% and setting their quality to 91%:
for i in *.jpg; do echo "$i"; convert "$i" -resize 50% -quality 91% "$i"; done
While PhotoShow lacks all the bells and whistles of more advanced photo sharing applications, this tool is perfect for hosting a no-frills photo gallery on your own server with a minimum of effort.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Ubuntu 25.04 Coming Soon
Ubuntu 25.04 (Plucky Puffin) has been given an April release date with many notable updates.
-
Gnome Developers Consider Dropping RPM Support
In a move that might shock a lot of users, the Gnome development team has proposed the idea of going straight up Flatpak.
-
openSUSE Tumbleweed Ditches AppArmor for SELinux
If you're an openSUSE Tumbleweed user, you can expect a major change to the distribution.
-
Plasma 6.3 Now Available
Plasma desktop v6.3 has a couple of pretty nifty tricks up its sleeve.
-
LibreOffice 25.2 Has Arrived
If you've been hoping for a release that offers more UI customizations, you're in for a treat.
-
TuxCare Has a Big AlmaLinux 9 Announcement in Store
TuxCare announced it has successfully completed a Security Technical Implementation Guide for AlmaLinux OS 9.
-
First Release Candidate for Linux Kernel 6.14 Now Available
Linus Torvalds has officially released the first release candidate for kernel 6.14 and it includes over 500,000 lines of modified code, making for a small release.
-
System76 Refreshes Meerkat Mini PC
If you're looking for a small form factor PC powered by Linux, System76 has exactly what you need in the Meerkat mini PC.
-
Gnome 48 Alpha Ready for Testing
The latest Gnome desktop alpha is now available with plenty of new features and improvements.
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.