Skip to content
[READ-ONLY] Subtree split of the Kunstmaan MediaBundle -- master at Kunstmaan/KunstmaanBundlesCMS
Latest commit 71f4dc7 Apr 26, 2016 @fchris82 fchris82 committed with jockri [Global] Add flash and modal translations (#1125)
* Add flash translations

* Translation bugfixes

* Fix modal translations

* Fix test
Failed to load latest commit information.
AdminList Update admin translations (#1104) Apr 14, 2016
Command Implement clean deleted media command (#1127) Apr 26, 2016
Controller [Global] Add flash and modal translations (#1125) Apr 26, 2016
DataFixtures/ORM Text files should end with a newline character Jan 5, 2015
DependencyInjection Update LiipImagineBundle to v1.4.3 with workaround Jan 22, 2016
Entity Update Media.php Mar 31, 2015
EventListener Implement clean deleted media command (#1127) Apr 26, 2016
Form [Global] Translation fix (#1115) Apr 22, 2016
Helper Implement clean deleted media command (#1127) Apr 26, 2016
Repository Implement clean deleted media command (#1127) Apr 26, 2016
Resources Implement clean deleted media command (#1127) Apr 26, 2016
Tests Fixes for SensiolabsInsight Jan 25, 2016
Validator/Constraints Removed some deprecated usages Jan 2, 2016
.bowerrc Update the admin interface and demo site generator Apr 3, 2015
.gitignore Files should not be executable Sep 19, 2014
.travis.yml [Travis]: remove php 7 from allowed failures Feb 9, 2016 Folder is nested tree / PDF previews / Keep media name / Move media /… Aug 14, 2014
KunstmaanMediaBundle.php Fix insight issues Dec 10, 2013
LICENSE Text files should end with a newline character Jan 5, 2015 make Imagick dependency optional (only when pdf previews are enabled) Jan 30, 2015 version in doc Aug 14, 2014
bower.json add retina image thumbnails to mediabundle Jan 14, 2016
build.xml Travis configs May 17, 2012
composer.json Composer updates after 3.5 release Feb 15, 2016
phpunit.xml.dist Travis configs May 17, 2012


Build Status Total Downloads Latest Stable Version Analytics

To build your perfect website you probably need images, video's or maybe even a presentation too. The Kunstmaan Media Bundle handles all those media assets and centralizes them so you can find your content just the way you like it: fast and efficiently. No central asset management module is useful without some pretty advanced image editing functionality. To provide this we have integrated the Aviary image editing service right from the interface.

KunstmaanMediaBundle View more screenshots and information


This bundle is compatible with all Symfony 2.3.* releases. More information about installing can be found in this line by line walkthrough of installing Symfony and all our bundles, please refer to the Getting Started guide and enjoy the full blown experience.

Symfony 2.2

If you want to use this bundle for a Symfony 2.2 release, use the 2.2 branch.


If you want to use your own api key for SoundCloud, you can define this in the config.yml of your application but it works fine without it as well.

    soundcloud_api_key: YOUR_CLIENT_ID


If you want to add a nifty tooltip to your media chooser in the admin, you can just add the following to your form type:

          'pattern' => 'KunstmaanMediaBundle_chooser',
          'mediatype' => 'image',
          'attr' => array('info_text' => 'YOUR TOOLTIP TEXT'),

Generating PDF preview thumbnails

For this functionality to work, you need to install the ImageMagick extension with PDF support (using Ghostscript). You will also have to make sure that the Ghostscript executable (gs) can be found in the path of the user that is executing the code (apache/www or a custom user depending on your setup).

You can determine that path by running which gs on the command line in Linux/OS X.

To install Ghostscript on Mac OS X you can use brew install gs.

On OS X with apache you will probably have to add that path to the apache environment settings in /System/Library/LaunchDaemons/org.apache.httpd.plist. Make sure it contains the following :


Where /path/to/gs is just the actual path where the gs binary is stored.

NOTE: This functionality has to be enabled by setting the enable_pdf_preview configuration option to true, ie. :

    enable_pdf_preview: true
Something went wrong with that request. Please try again.