Media Fotoweb

Digital Asset Management for Drupal 7

Stephan @ Ramsalt.com

What's a Digital Asset Management System (DAM)?

  • Import and export of data with file conversion
  • Augmenting media files with metadata and other properties
  • Combination of data to archives, collections, albums, …
  • Archiving and versioning of files

Pro's of a DAM?

  • Single physical storage for your assets
  • Could be used as a CDN
  • Integration to different distribution channels (print/web)
  • Journalists bypass Drupal 7's weak media support

Fotoweb by Fotoware

  • Advanced RESTful API
  • Fully traverseable API
  • List folders/albums
  • List asset metadata
  • Provides previews and renditions of assets

How does it look in Drupal?

Implementation for Drupal

  • Media Browser Plugin
  • Utilizing Fotoweb Embedded Selection Widget
  • On file_save():
    Import of Asset Preview + metadata
  • Drupal MediaReadOnlyStreamWrapper
  • getLocalImageUrl(), getOriginalImageUrl()

Challenges

  • API is quite complex
    -> simplified by Guzzle
  • Original images are not exposed by Fotoweb API
    -> Using Fotoweb's ArchiveAgent API
  • Drupal has bad support for ReadOnlyStreams
  • Problem reoccurs at every place (image styles, Manual crop, …)
    -> Own image_derivate() handling

Let's give it a try!

Click me!

Hooray! We're contributing…

 

Thanks for your attention!