Giter Club home page Giter Club logo

kunstmaanmediabundle's Introduction

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.

View more screenshots and information https://cms.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

kunstmaanmediabundle's People

Contributors

acrobat avatar aistis- avatar arneruy avatar daanporon avatar dannyvw avatar delboy1978uk avatar denbatte avatar devolicious avatar dezinc avatar fchris82 avatar fvkvn avatar jverdeyen avatar kimausloos avatar krispypen avatar kristofvc avatar kunstmaanlabs avatar mlebkowski avatar mwoynarski avatar oskarstark avatar piszczek avatar poveu avatar roderik avatar sandergo90 avatar spobo avatar tentwofour avatar umeku avatar whitewhidow avatar wimvds avatar wouterj avatar wouterv55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.