Export and share photos with digiKam
Export Power
digiKam makes it possible to share photos in a variety of ways, and the application supports many popular photo-sharing services. In this article, we put digiKam's photo-sharing capabilities to practical use.
The digiKam application offers a variety of functionality through plugins. For example, the export functionality (which includes the ability to publish photos) is implemented via so-called Kipi plugins, and the application comes with a handful of plugins that support several popular services. To manage these plugins, choose Settings | Configure digiKam, switch to the Kipi Plugins section, then enable and disable the desired plugins.
Using the MediaWiki Export Plugin
As you would expect, digiKam comes with plugins that can be used to export photos to popular services like Flickr, SmugMug, and Facebook, as well as different web applications like Piwigo and Gallery. Additionally, digiKam features the dedicated MediaWiki Export plugin that makes it possible to publish photos to Wikimedia Commons [1]. Using the plugin couldn't be easier, but before you proceed, you should create a Wikimedia Commons account.
Once you've done that, select one or several photos in a digiKam album and choose Export | Export to MediaWiki. This step opens the export dialog window (Figure 1). In the Upload Settings section, select Wikimedia Commons from the Wiki drop-down list, enter your username and password in the appropriate fields, and press Log in. Under Information, specify the author's name and choose a license.
If you want to resize photos before uploading them to Wikimedia Commons, enable the Resize photos before uploading option under Options, then adjust the quality and size settings. Switch to the Items Properties tab and specify the title, description, and categories for each photo. Hit the Start Upload button, and the plugin takes care of the rest.
As the name suggests, the MediaWiki plugin can be used to export photos to practically any MediaWiki-powered service, and the tool comes with several predefined profiles, including Wikipedia, Wikia Photo, and others. Better still, you can easily create a custom profile for any other MediaWiki-based service, provided you have its API URL and a valid account. Press the New button next to the Wiki drop-down list in the Upload Settings section, enter a descriptive name and the API URL into the appropriate fields, and press Add. To finish, specify login credentials, press the Log in button, and you're done.
Export Photos to Google Drive
Besides popular photo-sharing websites, digiKam can push photos to several mainstream file storage services including Dropbox and Google Drive. Using cloud storage export plugins is not particularly difficult. To upload photos to your Google Drive account, select the photos you want to export and choose Export | Export to Google Drive.
During the first run, you'll be prompted to link the export tool to your Google Drive account by following the instructions provided. Once you've done that, use the export dialog window to add or remove photos as well as to specify an existing destination album or create a new one (Figure 2). In the Options section, you can also enable and configure resizing options. Press the Start Upload button to export the photos to Google Drive.
Export Photos via DLNA
Pushing photos to various web services is only one of digiKam's export talents. The DLNAExport plugin can be used to share photos in digiKam albums with any DLNA-enabled device on the same network. This way, you can stream photos from digiKam to a TV or view them on a mobile device (Figure 3).
To share photos via DLNA, choose Export | Export via DLNA. In the DLNA Export wizard, select either HUPnP API or miniDLNA from the Choose the implementation drop-down list. Each implementation has its advantages and drawbacks. For example, although miniDLNA supports thumbnails and works with all DLNA-compatible devices, it can't handle hierarchical folders and virtual albums. Moreover, miniDLNA relies on the older UPnP 1.0.0 protocol. HUPnP uses the latest UPnP protocol and supports hierarchical folders and virtual albums, but it doesn't support Sony devices and thumbnails.
If you choose the miniDLNA option, you have to install the miniDLNA package on your system. On Debian and Ubuntu, this task can be done by running the apt-get install minidlna
command as root. Press the Find button in the DLNA Export window and specify the path to the miniDLNA binaries (usually it's /usr/bin
).
Once you've selected the desired DLNA implementation, press Next and select the collection you want to export. You have three options here: You can pick the desired albums in the My Albums section or select tags under the My Tags tab to export photos containing specific tags. If you have saved searches in digiKam, you can select them in the My Searches section to export photos matching specified search criteria. Note that tags and searches cannot be used with miniDLNA, because it doesn't support virtual albums. Press Next again and hit the Start button to start the DLNA server. You can then access the shared photos from any device on the network using a dedicated DLNA client, or DLNA-enabled software.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe 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
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4