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
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.