Lead Image © Claudia, Fotolia.com

Lead Image © Claudia, Fotolia.com

Digital asset management

Sorted Collections

Article from ADMIN 24/2014
By
If you want to make your photos, videos, audio files, and text documents available to others, your best bet is to manage this multimedia content with special software. Four programs can help you create, publish, and share these digital assets.

Most users can find their way around data collections with no problem. They arrange their photos, videos, audio files, and documents in a directory structure that they can still understand later. However, as soon as a team requires access to multiple digital assets, a system is needed that everyone can cope with. Tags, preview, search, and filter functions help with orientation.

Digital asset management (DAM) systems store and publish media content, allow data and metadata to be processed, secure resources with ACLs, offer version control in some cases, convert files into other formats, and link them with other content.

DAM software is available for different target groups. The market is bustling with smaller systems aimed at marketing and creative departments, programs for huge collections such as those in museums, libraries, and archives, and complex B2B systems that control the workflow between suppliers and companies.

We tested four smaller solutions: two for your own LAMP server and two cloud services. In the latter case, the test team chose providers with a fixed price model. Phraseanet [1] and ResourceSpace [2] are open source, and they take on the two commercial candidates Razuna [3] and Smartimage [4].

We investigated which file types the programs import and export, the comfort of handling metadata, and whether they offer a mass tagging function and version control. We also tested the search and filter functions and the user and group management.

Phraseanet and ResourceSpace proved themselves on an Amazon EC2 micro instance on Ubuntu Server 14.04 (64 bit) with Apache, MySQL, and PHP. Approximately 5,000 photos in JPEG, PNG, and Nikon RAW (NEF codec) formats and a few documents (PDF, LibreOffice Writer, and MS Word) were moved onto the servers in the test. In some cases, the images contained metadata added by the cameras or the digiKam photo management tool. Firefox 32 and Google Chrome 37 provide access from the outside.

Phraseanet

The first test candidate comes from the French software house Alchemy [5]. Phraseanet [1] has been available for download since 2010 under the GPLv3 via GitHub. We installed version 3.8. Before installing, admins should take a look at the documentation [6] to prepare their own server. Phraseanet requires several tools in addition to the LAMP environment, including the PHP modules curl, JSON, GD, Exif, gettext, and Twig. Tools such as ImageMagick, UFRaw, FFmpeg, Ghostscript, Xpdf, SWFTools, unoconv, and MP4Box, as well as the phpdev development environment and a compiler are required.

Admins should first download the Phraseanet extension module and the Phraseanet indexer from GitHub. After you have built and installed the module, enter the following in the PHP configuration file:

extension=phrasea2.so

On an Ubuntu server, you must add the line to both /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini. The server's correct time zone must be present in both files:

date.timezone = "Etc/UCT"

If you accidentally make a typo or enter something else, you'll experience unpleasant surprises later, and some content will remain invisible. After installing the indexer, users can configure the locales on their server so that Phraseanet talks to them in a language other than French.

Users can download the Phraseanet sources from the homepage, unpack them, and set the document root to the subdirectory www in the Phraseanet folder. It is also important to enable the two Apache modules rewrite and xsendfile. Admins need to create two MySQL databases called phraseanet and databox . Then, check the installation and enter the following command in the Phraseanet root directory to verify the installation:

php bin/setup check:system

Entering

bin/setup system:install

then installs the application. The Phraseanet bin/console tool supplements the Apache configuration with the required sendfile and streaming entries. The documentation [6] lists all the necessary commands. After logging in to the web interface, the admin can select the system language and launch the individual tasks in the Task Scheduler section.

Modular

The Phraseanet interface is available in French, German, English, and Dutch, but the translations are incomplete. The interface is a also a little awkward to handle; it is divided into seven modules – depending on the user's authorization – which are normally opened in a new browser tab.

Production contains functions for importing, processing, searching, displaying, organizing, and sharing content. According to the manual, Classic is the interface for visitors who would like to view and download files. Lightbox serves as a common interface that allows access to files and reviews by others. All functions for managing, generating collections, and for document structures are assembled in the Admin section.

The Upload module can only be reached from the Production interface. By default, the DAM system uses an HTML5 uploader that did well in the test. If you encounter problems here, review the entries for upload_max_filesize and post_max_size in the file php.ini. Phraseanet developers recommend setting both values to 200MB.

A Flash uploader is available as an alternative for users who use a browser without HTML5 support. Phraseanet searches for duplicates based on UUID checksums and highlights these when uploading. Users can find the files on the Quarantine tab and decide whether they want to add, delete, or replace the resource.

The software supports many file types, including popular photo, graphic, video, and audio formats, vector graphics, PDF, and Open/Libre Office and Word documents. Selecting entire directories is not possible, meaning that users have to select their data by hand. The data appears afterward as a preview on the left side of the interface. You can change the order using drag and drop (Figure 1). Previewing Office documents will not currently work on Debian-based servers because the pdf2swf tool is missing in the SWFTools package [7]. If you're missing this feature, you can build SWFTools from the sources.

Figure 1: Users can re-sort the order of their files (left-hand side) in the Phraseanet HTML5 uploader before uploading. You can see the progress on the right-hand side.

Baskets

As the only candidate in the test, Phraseanet monitors directories specified by the admin and automatically imports new files. After creating the folder, users should create an empty file there called .phrasea.xml and then turn to the Admin module and its Task Scheduler menu in the web interface. This function has a somewhat cumbersome name of Archive in collection . The task is stopped by default. Users can edit the configuration, enter the collection name, the Hot Folder , and values for observation (Figure 2) by clicking the small arrow. The service starts after clicking Confirm .

Figure 2: Phraseanet monitors directories in predefined intervals via the Hot Folder and automatically imports new files.

Phraseanet differentiates between collections, which it manages under Admin | Databases , and baskets, which users create in the Production module. Selected files can be dragged from the right workspace and dropped into the basket on the left-hand side. The baskets open by clicking on the arrow and show their contents along with a few icons on the upper edge, which export, print, edit, move, and publish the files.

New baskets can be created using the triangle ruler and pen icon at the very top. The menu also provides functions for searching baskets, sorting them, or generating reports. The gearwheel icon opens the Tools dialog. You have options here to rotate all images in the selection.

Phraseanet uses the Exif tool for metadata management of images. The DAM software reads existing Exif, IPTC, and XMP information as well as the keywords and geodetic information (Figure 3) during the import. Users need to select one or more objects in the basket and press the Edit icon to add new tags. Then, click on Keywords in the lower section and enter the tag on the right in the box.

Figure 3: During importing, Phraseanet reads all EXIF, IPTC, and XMP information and stores the metadata to the images.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Exploring Ubuntu cloud tools
    Cloud computing, promising manageable, quickly deployed, virtual machines in large networks, is so appealing in a world where everyone is trying to cut costs. Ubuntu Enterprise Cloud Services (UEC) is Canonical's entry into the cloud market.
  • Provisioning resources with an Azure-specific language
    Microsoft Bicep is a fairly new language for creating Azure resources in the cloud. We talk about why Bicep was developed, what the new language can do, and the advantages it offers admins.
  • Novell Filr 1.0 tested
    External staff, home offices, individual smartphones, and cloud services like Dropbox can easily drive a security-conscious admin crazy. But, Novell's Filr file storage system is designed to solve most of these problems.
  • Remora – Resource Monitoring for Users

    Remora provides per-node and per-job resource utilization data that can be used to understand how an application performs on the system through a combination of profiling and system monitoring.

  • Visualizing kernel scheduling
    The Google SchedViz tool lets you visualize how the Linux kernel scheduler allocates jobs among cores and whether they are being usurped.
comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=