Developed with love by KnpLabs Hire us for your project!
56

KunstmaanMediaBundle

by Kunstmaan

[READ-ONLY] Subtree split of the Kunstmaan MediaBundle -- master at Kunstmaan/KunstmaanBundlesCMS

KunstmaanMediaBundle

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 http://bundles.kunstmaan.be.

Installation

This bundle is compatible with all Symfony 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.

Audio

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.

kunstmaan_media:
    soundcloud_api_key: YOUR_CLIENT_ID

Tooltips

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:

$builder
    ->add(
      'media',
      'media',
      array(
          '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 :

<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/path/to/gs</string>
</dict>

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. :

kunstmaan_media:
    enable_pdf_preview: true
The MIT License

Original Copyright (c) 2010 thomas.rabaix@sonata-project.org
Portions are Copyright (c) 2010 Benjamin Dulau
Portions are Copyright (c) 2012 Kunstmaan (http://www.kunstmaan.be)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • [AdminBundle] remove bower dependencies | update fontawesome (#2343)
    By Devolicious, 5 months ago
  • [AllBundle] Fix risky tests (#2407)
    By Devolicious, 5 months ago
  • [MediaBundle] Add image width and height to media module as done in PP media chooser (#2388)
    By Devolicious, 5 months ago
  • [AllBundles] Move test suite back to phpunit setup (#2394)
    By Devolicious, 5 months ago
  • [MediaBundle][SearchBundle] Provide default config for bundles to work on sf4 (#2365)
    By Devolicious, 6 months ago
  • [AdminBundle][MediaBundle] Configure bundle dependencies by default (#2354)
    By Devolicious, 6 months ago
  • [AllBundles] Fix sf4 rootNode deprecation (#2337)
    By Devolicious, 6 months ago
  • [MediaBundle] Move aviary_api_key parameter to media bundle config instead of parameter (#2284)
    By deZinc, 6 months ago
  • Merge pull request #2301 from acrobat/media-deprecate-service-class-parameters
    By web-flow, 6 months ago
  • [MediaBundle] fixed typo
    By deZinc, 6 months ago
  • [MediaBundle] replaced the AbstractPrependableExtensionTestCase
    By deZinc, 6 months ago
  • [MediaBundle] updated phpunit namespaces
    By deZinc, 6 months ago
  • [MediaBundle] upgraded dev dependencies
    By deZinc, 6 months ago
  • [MediaBundle] Deprecate service class parameters
    By acrobat, 6 months ago
  • fix wrong dependency (#2267)
    By web-flow, 7 months ago
  • Fix composer json for admin/adminlist/behat/media/node/pagepart bundle (#2251)
    By web-flow, 7 months ago
  • [MediaBundle] Check if media metadata has width/height info
    By acrobat, 7 months ago
  • [AllBundles] Set default menu adaptor priorities enabled bundle order doesn't matter
    By acrobat, 7 months ago
  • [GeneratorBundle] Prepare generators for sf4 support
    By acrobat, 7 months ago
  • Merge branch '5.1'
    By Devolicious, 8 months ago
  • [AllBundles] Ignore generated files from codeception (#2198)
    By Numkil, 8 months ago
  • [MediaBundle] Fix incorrect service name in media compilerpass (#2193)
    By web-flow, 8 months ago
  • [MediaBundle] Upgrade liip/imagine-bundle to v2 and port our custom overrides (#2098)
    By sandergo90, 8 months ago
  • Replace deprecated Route/Method annotations (#2184)
    By sandergo90, 8 months ago
  • [MediaBundle] Fix php 5.6 incompatibilty with the ChangeableLimitTrait (#2183)
    By sandergo90, 8 months ago
  • Bump minimum php version to 7.1 (#2090)
    By web-flow, 8 months ago
  • Apply suggested codestyle changes
    By acrobat, 8 months ago
  • Merge branch '5.0'
    By acrobat, 8 months ago
  • [MediaBundle] Added image sizes to media chooser (#2158)
    By sandergo90, 9 months ago
  • Apply styleci codestyle changes
    By acrobat, 9 months ago