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
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
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.