Flickr ECL provider

SDL Tridion 2013 comes with a new feature, External Content Library (ECL), which is a module for exposing multimedia contained in an external system in SDL Tridion so that you can use the media in SDL Tridion-driven Web sites. You expose the multimedia from external systems through a provider, this is a module you build yourself and configure in your CMS. This eXtension is an example provider which exposes photos from Flickr. You configure the Flickr user and this provider exposes all public photo sets from that user in SDL Tridion. It is designed as an example to show what is possible and comes complete with all source code so you can see how it is all done. Feel free to take it apart completely or reuse as a basis for your own ECL provider. The source is available in the download package below and also on Google code as an open source project.

ecl view


This eXtension comes with full source as a Microsoft Visual Studio solution which you can directly compile and deploy (you can use the free Microsoft Visual Studio Express edition). The output path of the project is set to C:\ProgramData\SDL\SDL Tridion\External Content Library\AddInPipeline\AddIns\FlickrProvider\ this will place the required files directly in the location where they are required (if build directly on a SDL Tridion CM server), else all that is required is to copy this directory to your CM server.

The next step is to configure the provider in the ExternalContentLibrary.xml file in the ..\Tridion\config directory. In there you add a new mountpoint where you specify the Stub Folder location (this is where the stub items are created, which link the external item with SDL Tridion), the Privileged User Name (this should be an SDL Tridion Administrator account) and the details of the Flickr account which you want to expose. You will need a Flickr API key and the Flickr user id, see for details. After changing the ExternalContentLibrary.xml file, you need to restart the SDL Tridion CM server and then your Flickr ECL mountpoint will be available and you can start using its photos.

mountpoint config

Background information

More information about ECL and how to create ECL providers can be found in the SDL Tridion documentation:

  1. Developing a Provider (ECL) (login required)
  2. External Content Library concepts and API (login required)
  3. ECL Template Building Block
  4. ECL Event Handler

:    Bart Koopman
License agreement
Download package
:    Flickr,  2013,  ECL,  extension
:   1.0
:   Yes

About the Author
Bart Koopman
Community Development Consultant

As a Community Development Consultant, Bart is the evangelist of all SDL Tridion products. Bart used to be a consultant and trainer at SDL Tridion, supporting both partners and customers with their implementations.

SDL CMT division